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

前端 未结 5 1655
失恋的感觉
失恋的感觉 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:17

    I had a similiar error.

    Try in your Gemfile:

    source 'http://rubygems.org'
    

    Instead of:

    source 'https://rubygems.org'
    

    That solved my problem...

提交回复
热议问题