engineyard-serverside 2.6.12.prewut1 → 2.6.12.prewut2
Sign up to get free protection for your applications and to get access to all the features.
@@ -11,11 +11,17 @@ module EY
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def detected?
|
14
|
+
puts "detecting..."
|
14
15
|
gemfile?
|
15
16
|
end
|
16
17
|
|
17
18
|
def gemfile?
|
18
|
-
|
19
|
+
puts "looking for gemfile"
|
20
|
+
puts "#{paths.gemfile.inspect}"
|
21
|
+
puts "#{paths.gemfile.to_s}"
|
22
|
+
found = paths.gemfile.exist?
|
23
|
+
puts "found gemfile? #{found}"
|
24
|
+
found
|
19
25
|
end
|
20
26
|
|
21
27
|
def check
|
@@ -54,7 +54,10 @@ module EY
|
|
54
54
|
# Pathname#join is extremely inefficient.
|
55
55
|
# This implementation uses much less memory and way fewer objects.
|
56
56
|
def path(root, *parts)
|
57
|
-
|
57
|
+
puts "looking for #{root} #{parts.inspect}"
|
58
|
+
found = Pathname.new(File.join(send(root).to_s, *parts))
|
59
|
+
puts "found #{found.inspect}"
|
60
|
+
found
|
58
61
|
end
|
59
62
|
|
60
63
|
attr_reader :home, :deploy_root
|