NoMethodError: undefined method `on' for main:Object

后端 未结 2 1848
甜味超标
甜味超标 2021-02-13 05:53

when I try to bundle exec cap production deploy --trace I get an error message:

deploy@h2540559:/www/apps/foodsoft$ bundle exec cap production deplo         


        
2条回答
  •  不要未来只要你来
    2021-02-13 06:09

    I have the same error.

    My capistrano version is 3.1.0, rails version is 4.1.4. But my colleague don't have that problem. I try to change my ruby version, rvm version as same as my colleague' config. It still not work. So I try to gem list all these related gems. I found my sshkit is higher than his.

    So I downgrade my sshkit to 1.7.1.

    Then it works.

提交回复
热议问题