【发布时间】:2017-07-13 13:06:30
【问题描述】:
- 当我运行
bundle update时,我正在更新 Bundle - Json 1.8.6 已安装。
-
但是当我运行 jekyll build 时,我得到了这个错误:
警告:Gem::Specification.reset 期间未解决的规范: 听 ( 3.0) 警告:清除未解决的规范。 如果这会导致问题,请报告错误。 /usr/local/lib/ruby/gems/2.4.0/gems/bundler-1.14.5/lib/bundler/runtime.rb:40:in
block in setup': You have already activated json 2.0.2, but your Gemfile requires json 1.8.6. Prependingbundle exec` 到你的命令可以解决这个问题。 (Gem::LoadError)
【问题讨论】:
-
如警告所示,您可以在命令前添加
bundle exec
标签: ruby-on-rails json ruby rubygems jekyll