我试图上传我的Rails应用程序有:Capistrano的版本冲突
bin/cap production deploy
但部署与此错误消息失败:
You have requested:
capistrano ~> 3.3.0
The bundle currently has capistrano locked at 3.7.1.
Try running `bundle update capistrano`
If you are updating multiple gems in your Gemfile at once,
try passing them all to `bundle update`
我试图通过运行来解决该问题:
bundle update capistrano
但这并没有解决它。
我不明白的是我没有看到我的应用程序'要求capistrano 3.3.0'。在我的Gemfile中,我将Capistrano设置为3.7版本。
而且我还使用了Capistrano的宝石:
gem capistrano-rails, '~> 1.2'
gem capistrano3-delayed-job, '~> 1.3'
gem capistrano-figaro-yml
我的Gemfile是:
https://github.com/acandael/personalsite/blob/master/Gemfile
是否有人知道我怎么能解决这个Capistrano的版本问题?
感谢您的帮助,
安东尼
什么是你'Gemfile中的内容。罗ck'? – Markus
尝试检查你的'confing/deploy.rb',看看你是否锁定了capistrano版本。 – ShallmentMo