Ask A Question


You’re not receiving notifications from this thread.

Problem installing Capistrano

Bina Darabzand asked in Rails

I am following Chris's "Deploy Ruby on Rails on ubuntu 18.04 ..." But I am stuck at installing Capistrano! command "cap install STAGES=production" gives me the following error :

":$~ cap install STAGES=production
(Backtrace restricted to imported tasks)
cap aborted!
LoadError: cannot load such file -- /usr/lib/ruby/vendor_ruby/Capfile

(See full trace by running task with --trace)"

Can anyone help me with this. I tried all solutions on web, without success.


Strange, maybe try bundle exec cap install STAGES=production?


Thanks. It worked!


Yay! I had the same issue and that worked for me as well. Thanks


Yes! it worked for me also!

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,969+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.