Trying to install a rails app with Capistrano 3 and rbenv
问题 I have a VPS setup with Ruby 2.1.1 installed and the same version is installed locally. My dev machine running 14.04 Ubuntu reports ruby -v = ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux] and rbenv -v = rbenv 0.4.0-97-gfe0b243. I originally installed ruby on the server using knife solo but it seems like capistrano wants to take care of this. When I run cap staging deploy I get an error rbenv: cap: command not found The `cap' command exists in these Ruby versions: 2.1.0 Gemfile