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
@@ -1,5 +1,5 @@
1
1
  module EY
2
2
  module Serverside
3
- VERSION = '2.6.8pre1'
3
+ VERSION = '2.6.8pre2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: engineyard-serverside
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.8pre1
4
+ version: 2.6.8pre2
5
5
  prerelease: 5
6
6
  platform: ruby
7
7
  authors: