How do you downgrade rubygems?

前端 未结 6 1082
独厮守ぢ
独厮守ぢ 2020-11-29 16:19

I have rubygems 1.3.1 installed but I want to go back to 1.2.0. What\'s the command to downgrade rubygems?

6条回答
  •  独厮守ぢ
    2020-11-29 17:24

    I used this command to go back to the gem version that my ruby version needed:

    rvm rubygems current
    

    If it gives checksum errors try

    rvm rubygems current --verify-downloads 1
    

    That did the trick for me.

提交回复
热议问题