Issue with Ruby gem install

后端 未结 1 1912
走了就别回头了
走了就别回头了 2020-12-20 22:44

I am trying to install json on windows as follows, but its not working. Please help me with possible resoultion for the same.

C:\\Ruby193\\bin>gem install         


        
相关标签:
1条回答
  • 2020-12-20 23:28

    RubyGems 2.4.1 will not build native extensions in Ruby version 1.9.3 and earlier on Windows.

    You will need to downgrade RubyGems to 1.8.29. To do this run the following command:

    gem update --system 1.8.29
    

    Check gem version:

    gem -v
    1.8.29
    

    Now try your command again:

    gem install --local json-1.8.1.gem
    

    ref: https://groups.google.com/forum/#!topic/rubyinstaller/k19SeJijpKU/discussion

    0 讨论(0)
提交回复
热议问题