How to update gems in Ruby for Windows?

后端 未结 1 631
伪装坚强ぢ
伪装坚强ぢ 2020-12-29 14:57

I\'m using Ruby\'s Command prompt. I cannot install any update, but internet navigation seems to be working.

I have no proxy here.

C:\\Windows\\Syste         


        
相关标签:
1条回答
  • 2020-12-29 15:31

    First run (with administrator privileges):

    gem update --system
    

    Then run the update for activesupport. I have that error one time, because i was behind a proxy, in that case, put:

    gem update --http-proxy http://web.proxy.uri --system 
    
    0 讨论(0)
提交回复
热议问题