engineyard-serverside 2.6.12.prewut2 → 2.6.12.prewut3
Sign up to get free protection for your applications and to get access to all the features.
@@ -56,7 +56,15 @@ module EY
|
|
56
56
|
def path(root, *parts)
|
57
57
|
puts "looking for #{root} #{parts.inspect}"
|
58
58
|
found = Pathname.new(File.join(send(root).to_s, *parts))
|
59
|
-
puts "found #{found.inspect}"
|
59
|
+
puts "found #{found.inspect} -- exists: #{found.exists?}"
|
60
|
+
if parts.include?("Gemfile")
|
61
|
+
checkpath = found.split("/")[0...-1].join("/")
|
62
|
+
puts "ls #{checkpath}"
|
63
|
+
puts `ls -al #{checkpath}`
|
64
|
+
checkpath = found.split("/")[0...-2].join("/")
|
65
|
+
puts "ls #{checkpath}"
|
66
|
+
puts `ls -al #{checkpath}`
|
67
|
+
end
|
60
68
|
found
|
61
69
|
end
|
62
70
|
|