「Windows10」Ruby2.6環境でjsonをインストールする方法

1.rubyバージョンの確認
>ruby -v
ruby 2.6.6p146 (2020-03-31 revision 67876) [x64-mingw32]
2.gemバージョンの確認
>gem -v
3.0.3

3.jsonのインストール
>gem install json
Fetching json-2.3.1.gem
Temporarily enhancing PATH for MSYS/MINGW…
Building native extensions. This could take a while…
Successfully installed json-2.3.1
Parsing documentation for json-2.3.1
Installing ri documentation for json-2.3.1
Done installing documentation for json after 6 seconds
1 gem installed

4.jsonの更新
>gem update json
Updating installed gems
Nothing to update

Ruby

Posted by arkgame