我该如何解决这个gemfile冲突

时间:2013-03-18 18:19:29

标签: ruby-on-rails-3 bundler locomotivecms excon

我在bundle install之后收到此错误。我该如何解决?

 Bundler could not find compatible versions for gem "excon":
  In Gemfile:
    locomotive-heroku (~> 0.0.2) ruby depends on
      excon (~> 0.9.4) ruby

    excon (0.20.0)

2 个答案:

答案 0 :(得分:0)

卸载最新版本的gem:gem uninstall excon -v=0.20.0。然后再次捆绑安装以查看它是否解决了问题。

答案 1 :(得分:0)

我通过为机车/发动机和机车/笨蛋放置当前回购的位置来修复它。 I.e gem'locomotive-heroku',git:'repolocation',require:'locomotive / heroku'这也是最终让我在heroku上安装了locomotivecms的东西。我确实需要将其设置为在生产环境中编译资产。

相关问题