Open benwalsh opened 6 years ago
If you run RBENV_ROOT=$HOME/.rbenv RBENV_VERSION=2.4.2 $HOME/.rbenv/bin/rbenv exec gem list | grep bundler
, what's the output?
The gem is there, but not the executable.
Shot in the dark, but does it work if you run RBENV_ROOT=$HOME/.rbenv RBENV_VERSION=2.4.2 $HOME/.rbenv/bin/rbenv rehash
?
I'ma also having this issue. Bundler is there.
@maynardewm: Same exact output? Could you paste the error message?
It's slightly different:
INFO [02658949] Running bundle exec puma -C /home/ubuntu/app_name/shared/puma.rb --daemon as ubuntu@54.68.177.131
DEBUG [02658949] Command: cd /home/ubuntu/app_name/current && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.0" RACK_ENV="staging" ; bundle exec puma -C /home/ubuntu/app_name/shared/puma.rb --daemon )
DEBUG [02658949] bash: bundle: command not found
Everything works up until this command. Which is weird because that means it's running bundle install....?
I think you have a different issue, and should probably open your own ticket.
Offhand, I'd guess that you are running something like execute 'puma -C .....'
instead of execute :puma, '-C ......'
. If that's the case, try the latter syntax. If that is not the case, open a new ticket, or better yet, open a Stack Overflow question, since this is more of a support issue than a bug.
I had the same problem. What worked for me was adding puma
and pumactl
to rbenv_map_bins
. Hope this helps.
I had the same problem. What worked for me was adding
puma
andpumactl
torbenv_map_bins
. Hope this helps.
@ngetahun it worked perfectly for my case too. Thank you very much <3
I'm having a problem with running bundler. The deploy completes
deploy:symlink:linked_dirs
and then fails onbundler:install
:I've tried installing it manually with
rbenv exec gem install bundler
andrbenv rehash
, but the executablebundle
does not appear.capistrano 3.10.0
capistrano-rbenv 2.1.3
capistrano-bundler 1.3.0
capistrano-rails 1.3.0
rails 4.2.10
rbenv 1.1.1