【问题标题】:Spree - i18n gem issueSpree - i18n 宝石问题
【发布时间】:2014-07-26 07:55:45
【问题描述】:

我在使用新版本的 spree gem(分支:'2-3-stable')时遇到问题。当我尝试安装它时,我收到此错误。

my_store$ rails server
The git source https://github.com/spree/spree_gateway.git is not yet checked out. Please  run `bundle install` before trying to start your application

my_store$ bundle install
Bundler could not find compatible versions for gem "i18n":
 In Gemfile:
  spree (= 2.3.1) ruby depends on
   spree_core (= 2.3.1) ruby depends on
    i18n (= 0.6.9) ruby

 rails (= 4.1.2) ruby depends on
  activesupport (= 4.1.2) ruby depends on
    i18n (0.6.11)

但是根据gem list,我安装了这两个宝石i18n (0.6.11, 0.6.9)。谁能帮我解决这个问题

【问题讨论】:

  • 对不起。我发现自己简单地执行bundle update 然后bundle install 命令解决了我的问题
  • 也许用你的发现修改你原来的帖子,而不是把它埋在评论里?
  • Stack Overflow 实际上鼓励您留下自己的问题的答案并将其标记为正确。未来的谷歌人会比在评论中更容易找到。
  • 感谢您的建议,对不起,我在所有这些 QA 方面都是菜鸟。

标签: internationalization gem bundle spree


【解决方案1】:
Copy from comment section:

对不起。我发现自己简单地执行了bundle update 然后bundle install 命令解决了我的问题

【讨论】:

    猜你喜欢
    • 2013-01-18
    • 2016-03-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-08-03
    • 2011-01-09
    • 1970-01-01
    相关资源
    最近更新 更多