我最近通过使用以下命令安装了gem的“回形针”:
gem“回形针”,git:“git://github.com/thoughtbot/paperclip clip.git”
Bundler找不到gem“activesupport”的兼容版本:在Gemfile中:回形针解析为5.1.0,这取决于activesupport (>= 4.2.0)
rails (= 4.1.5) was resolved to 4.1.5, which depends on
activesupport (= 4.1.5)
rails (= 4.1.5) was resolved to 4.1.5, which depends on
activesupport (= 4.1.5)
rails (= 4.1.5) was resolved to 4.1.5, which depends on
activesupport (= 4.1.5)我认为我的Paperclip/Activesupport/Rails版本存在某种依赖/冲突问题,我不能确定。
尝试sudo install Activesupport (使用不同的版本)-没有运气。包更新,包安装,玩gemfile.lock等等,我陷入了一个循环。
在这方面的任何帮助都将不胜感激。
发布于 2017-07-25 10:06:51
通过降级Ruby版本,然后重新运行捆绑包更新和捆绑包安装修复了问题。
https://stackoverflow.com/questions/45291861
复制相似问题