I've got some trouble to deploy my Rails App.
I've got this message:
sh: 1:
bundle: not found
Here is my gemfile (only capistrano part) :
gem "capistrano", "2.15.5"
Here is my deploy (just the important part about rbenv)
set(:deploy_to) { "/home/#{user}/#{application}_#{rails_env}" } set :default_environment, { 'PATH' => '$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH' }
On the server when I typeruby -v
I get ruby 2.0.0p247
. And when I type which bundle
I get /home/paul/.rbenv/shims/bundle
.
What's the problem? Why do I get this message?
Thanks for your help.