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