Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundler no longer installed by default #65

Open
chewi opened this issue Apr 14, 2015 · 7 comments
Open

Bundler no longer installed by default #65

chewi opened this issue Apr 14, 2015 · 7 comments

Comments

@chewi
Copy link

chewi commented Apr 14, 2015

Bundler is not longer installed by RVM by default as of rvm/rvm@dc07790. I think users would expect Capistrano to just work after installing RVM so perhaps Capistrano should ensure that Bundler is installed.

@emirkin
Copy link

emirkin commented Apr 16, 2015

+1

@leonardteo
Copy link

Hi guys, how do you guys even get capistrano-rvm to work now? I've installed bundler on the server, but I still get:

INFO [e79d5fe1] Running /usr/local/rvm/bin/rvm 2.1.4@artstation-cdn-edge do bundle install --path /var/www/artstation-cdn-edge/shared/bundle --without development test --deployment --quiet as [email protected]
DEBUG [e79d5fe1] Command: cd /var/www/artstation-cdn-edge/releases/20150418005508 && /usr/local/rvm/bin/rvm 2.1.4@artstation-cdn-edge do bundle install --path /var/www/artstation-cdn-edge/shared/bundle --without development test --deployment --quiet
DEBUG [e79d5fe1]    /usr/local/rvm/scripts/set: line 19: exec: bundle: not found
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: bundle exit status: 127
bundle stdout: Nothing written
bundle stderr: /usr/local/rvm/scripts/set: line 19: exec: bundle: not found

SSHKit::Command::Failed: bundle exit status: 127
bundle stdout: Nothing written
bundle stderr: /usr/local/rvm/scripts/set: line 19: exec: bundle: not found

Tasks: TOP => deploy:updated => bundler:install
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing as [email protected]: bundle exit status: 127
bundle stdout: Nothing written
bundle stderr: /usr/local/rvm/scripts/set: line 19: exec: bundle: not found

@leonardteo
Copy link

Ah I just solved my issue. If you are using a gemset, you must make sure to install bundler for that gemset otherwise rvm doesn't find it.

rvm 2.1.4@gemset-name do gem install bundler

@john-999
Copy link

john-999 commented Jun 4, 2015

+1 (thanks, @leonardteo)

@guitaroff
Copy link

+1 Thanks! @leonardteo

@AlexEscohotado
Copy link

thank you @leonardteo ;)

@paulleoniuk
Copy link

Thanks a lot @leonardteo !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants