I\'m using capistrano, capistrano/rbenv, capistrano/bundler and capistrano/rails. I get this error in the step where capistrano compiles the assets:
DEBUG [49a50
I had the same problem using rbenv. What solved it for me was including the rbenv library before bundler--not after it. The order turned out to be important. Here's what's in my Capfile:
require 'capistrano/rbenv'
require 'capistrano/bundler'
If you did it right you should see the bundle command executed with the rbenv prefix, along these lines:
XX RBENV_ROOT=$HOME/.rbenv RBENV_VERSION=2.3.0 $HOME/.rbenv/bin/rbenv exec bundle install ...