문제

I just made a new rails app running on capistrano v3 and everything is fine.

Then I tried to deploy an old app running on capistrano v2 and capistrano doesn't work and can't load:

cap aborted! cannot load such file -- deploy blabla/Capfile:1:inload' blabla/Capfile:1:in <top (required)>'

running bundle show capistrano returns capistrano v2 but running which gem capistrano returns capistrano v3.

How can i keep it running the old capistrano v2?

도움이 되었습니까?

해결책

Try prefixing with bundle exec, i.e.

bundle exec cap deploy
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top