Ruby - “bundle install”json gem error

时间:2018-05-13 12:25:13

标签: ruby-on-rails json ruby windows rubygems

我正在使用Windows 10.我成功安装了Ruby,MSYS2和DevKit,但在尝试运行以下命令之后:

bundle install

它引发了我的错误

An error occurred while installing json (1.8.1), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.1'` succeeds before bundling.

我用

尝试了解决方案
gem install json -v '1.8.1'

但它仍然不适合我。 有谁知道我如何解决这个错误?

0 个答案:

没有答案