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

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

    see if you can get this to work "wget rubygems.org/downloads/rails-3.2.13.gem"

    That worked for me, but Vimsha did not explain how to install the gem once you've downloaded it. It's quite easy:

    gem install rails-3.2.13.gem
    

    installs the gem and other gems that it depends on.

    This is where I got that information from:

    Installing Ruby Gems manually

提交回复
热议问题