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
Ok, fixed it.
I added this:
set :default_env, { path: "~/.rbenv/shims:~/.rbenv/bin:$PATH" }
to my deploy.rb.
deploy.rb
I'm not sure is the best solution, but it worked.