Rails 4, Capistrano 3.0.0, cannot load such file — deploy

后端 未结 9 1122
心在旅途
心在旅途 2020-12-13 08:47

I just ran bundle update and capistrano got updated to 3.0.0 but now when I run cap deploy I get an error and can\'t figure out how to fix this. I have been updating my serv

9条回答
  •  醉酒成梦
    2020-12-13 09:13

    Instead of downgrading to Capistrano 2 use the new configuration from the current version.

    require "capistrano/bundler"
    require "capistrano/rails/assets"
    require "capistrano/rails/migrations"
    

    See also this nice posting, which summarises the differences between Capistrano 2 and 3.

提交回复
热议问题