A
A
Alexander Korolev2015-11-30 20:43:00
git
Alexander Korolev, 2015-11-30 20:43:00

Deploy capistrano gem from git how to win Does it try to require a relative path? That's been removed in Ruby 1.9?

Good afternoon.
Such a problem: when deploying a project through a capistar, one gem that is installed from the git gives the following error:

SSHKit::Command::Failed: bundle exit status: 14
bundle stdout: There was a LoadError while loading play_billing_validator.gemspec: 
cannot load such file -- play_billing from
/home/deployer/apps/container/shared/bundle/ruby/2.1.0/bundler/gems/play_billing_validator-725b779ae47f/play_billing_validator.gemspec:4:in
`<main>'

Does it try to require a relative path? That's been removed in Ruby 1.9.
bundle stderr: Nothing written

Although locally this was not the case.
It seems to be something about the relative path: I tried to change the path in the gem to "require "./play_billing", and require "lib/play_billing_validation" - it does not help, and for some reason these changes still do not come to the server

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question