I recently installed the gem "Paperclip" by using:
我最近使用以下方法安装了宝石“Paperclip”:
gem "paperclip", git: "git://github.com/thoughtbot/paperclip.git"
gem“paperclip”,git:“git://github.com/thoughtbot/paperclip.git”
Bundler could not find compatible versions for gem "activesupport": In Gemfile: paperclip was resolved to 5.1.0, which depends on activesupport (>= 4.2.0)
Bundler找不到gem“activesupport”的兼容版本:在Gemfile中:paperclip被解析为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)
I believe there is some kind of dependecy/conflict issue with my Paperclip/Activesupport/Rails versions and can't put my finger on it.
我相信我的Paperclip / Activesupport / Rails版本存在某种依赖/冲突问题,我无法理解它。
Tried sudo install Activesupport (played around with different versions) - no luck. Bundle update, bundle install, played around with gemfile.lock etc. I'm stuck in a loop.
试过sudo安装Activesupport(玩不同的版本) - 没有运气。捆绑更新,捆绑安装,使用gemfile.lock等。我陷入了循环。
Any help on this would be really appreciated.
任何有关这方面的帮助将非常感激。
1 个解决方案
#1
1
Problem fixed by downgrading the Ruby version, then re-running bundle update, bundle install.
通过降级Ruby版本,然后重新运行bundle update,bundle install来解决问题。
#1
1
Problem fixed by downgrading the Ruby version, then re-running bundle update, bundle install.
通过降级Ruby版本,然后重新运行bundle update,bundle install来解决问题。