engineyard-serverside 2.6.8pre1 → 2.6.8pre2
Sign up to get free protection for your applications and to get access to all the features.
@@ -29,7 +29,13 @@ module EY
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def binary
|
32
|
-
"/usr/local/ey_resin/ruby/bin/engineyard-serverside"
|
32
|
+
resin_path = "/usr/local/ey_resin/ruby/bin/engineyard-serverside"
|
33
|
+
if File.exists?(resin_path)
|
34
|
+
resin_path
|
35
|
+
else
|
36
|
+
#gem relative path causes deploy hook failures if gem version mismatches with other app servers
|
37
|
+
File.expand_path("../../../bin/#{gem_name}", __FILE__)
|
38
|
+
end
|
33
39
|
end
|
34
40
|
|
35
41
|
def hook_executor
|