Ruby on Rails, could not find a valid gem 'rails'

前端 未结 5 1561
失恋的感觉
失恋的感觉 2021-01-30 23:32

I installed ruby and updated ruby gems, now I want to download rails 3.2.13. I write gem install rails -v 3.2.13 (I need this version) I have this error

ERROR:         


        
5条回答
  •  醉梦人生
    2021-01-31 00:23

    do this:

    gem sources -a http://rubygems.org
    

    then answer y for

    Do you want to add this insecure source? [yn]
    

    lastly,

    gem install rails
    

    hope that helps :)

提交回复
热议问题