rubyjs / therubyracer

Embed the V8 Javascript Interpreter into Ruby
1.66k stars 192 forks source link

Bundle fails wil cap deploy #305

Closed jfalkson closed 9 years ago

jfalkson commented 10 years ago

Apologies in advance, I am new at this so I hope my description of the issue is enough. Bundle install and gem install work perfectly on my Mac OSX local host, as well as my EC2 Linux instance. However, when I run cap deploy to deploy my rails application the ruby racer gem is not being recognized.

I am using capistrano 2.15, rails 4, ruby 2.0.0

Details are here: http://stackoverflow.com/questions/24478212/capistrano-deploy-therubyracer-bundle-error

Again, if this needs to be moved to a capistrano repo issue page, or if it belongs elsewhere let me know, not sure if this is a bug or just manual error on my part somewhere. I just find it odd that bundle install works except when using the capistrano commands.

cowboyd commented 10 years ago

Please remove libv8 from your Gemfile. This will probably not fix your problem, but will not help things either. Do you still see the same error? --  Charles Lowell @cowboyd http://frontside.io http://github.com/cowboyd 512.207.0229

On June 29, 2014 at 5:26:56 PM, Joe Falkson (notifications@github.com) wrote:

Apologies in advance, I am new at this so I hope my description of the issue is enough. Bundle install and gem install work perfectly on my Mac OSX local host, as well as my EC2 Linux instance. However, when I run cap deploy to deploy my rails application the ruby racer gem is not being recognized.

I am using capistrano 2.15, rails 4, ruby 2.0.0

Details are here: http://stackoverflow.com/questions/24478212/capistrano-deploy-therubyracer-bundle-error

Again, if this needs to be moved to a capistrano repo issue page, or if it belongs elsewhere let me know, not sure if this is a bug or just manual error on my part somewhere. I just find it odd that bundle install works except when using the capistrano commands.

— Reply to this email directly or view it on GitHub.

jfalkson commented 10 years ago

Unfortunately it is the same error as before.

cowboyd commented 10 years ago

Can you try bundling twice in your deploy script? i.e. catch the first bundle failure, and retry once? There may be a race condition installing libv8

cowboyd commented 9 years ago

If you can post your Gemfile, Gemfile.lock, we can look into this issue.