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

后端 未结 9 1109
心在旅途
心在旅途 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:24

    in my case I have changed my project ruby version. may be bundle also work here.

    but I changed it to back what it was in previously.

    ex:

    rbenv local 2.4.1
    
    0 讨论(0)
  • 2020-12-13 09:27

    Add the related gems to your Gemfile

    i.e. for

    gem 'capistrano-bundler' # for capistrano/bundler
    gem 'capistrano-rails' # for capistrano/rails/*
    

    Do not downgrade to 2.x for this.

    0 讨论(0)
  • 2020-12-13 09:30

    I had to gem uninstall capistrano and selected version 3.0.0

    (i.e. downgraded the gem to 2.x)

    0 讨论(0)
提交回复
热议问题