Undefined method `instance' for Capistrano::Configuration:Class

前端 未结 3 1297
说谎
说谎 2021-01-11 11:47

I am trying to get Capistrano up and running for the first time in a rails app. I have a linux server running Ubuntu 12.04, nginx, unicorn and rails, however, I seem to be r

3条回答
  •  南笙
    南笙 (楼主)
    2021-01-11 12:48

    I suspect this problem is because Bundler 1.3.5 is not compatible with the latest version of Capistrano. Try upgrading to the Bundler pre-releases: gem install bundler --pre.


    I noticed also that you're using a very old version of Rails 3.2, which is probably vulnerable to some security exploits. I would really strongly recommend upgrading that version of Rails to something more recent, like Rails 3.2.14.

提交回复
热议问题