engineyard-serverside 2.6.9pre2 → 2.6.9pre3
Sign up to get free protection for your applications and to get access to all the features.
@@ -26,7 +26,11 @@ module EY
|
|
26
26
|
|
27
27
|
def gem_binary
|
28
28
|
gem_bin_path = File.join(Gem.default_bindir, 'gem')
|
29
|
-
"/usr/local/ey_resin/bin/ruby
|
29
|
+
if File.exists?("/usr/local/ey_resin/bin/ruby")
|
30
|
+
"/usr/local/ey_resin/bin/ruby -rubygems #{gem_bin_path}"
|
31
|
+
else
|
32
|
+
gem_bin_path
|
33
|
+
end
|
30
34
|
end
|
31
35
|
|
32
36
|
def binary
|