【发布时间】:2014-04-20 04:59:18
【问题描述】:
我正在尝试在我的 Rails 4.0 应用程序中安装 Stripe gem,但在运行 bundle install 时出现此错误:
Bundler could not find compatible versions for gem "json":
In snapshot (Gemfile.lock):
json (1.8.0)
In Gemfile:
stripe (>= 0) x86-mingw32 depends on
json (~> 1.8.1) x86-mingw32
我将此条目添加到我的 gemfile:
# stripe
gem 'stripe', :git => 'https://github.com/stripe/stripe-ruby'
我确认我的 gemfile.lock 有这个条目:
json (1.8.0)
如何升级它?我对这个配置文件不是很熟练。
【问题讨论】:
标签: ruby-on-rails json stripe-payments