Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
524 views
in Technique[技术] by (71.8m points)

install ruby 1.8.4 mac os x

I am relatively new to Ruby and Rails, so please have patience with me. I I have RVM installed and my current version of Ruby is 1.9.3. and Rails 3.2.14 for the current apps I am working on. I am using Brew, GIT for version control, and I also have Xcode installed.

Due to some work requirements, I am trying to install Ruby 1.8.4 on a mac os x Mountain Lion version 10.8. I am planning to set up a Project .rvmrc file so I can also use Rails 1.3.4. When I run "rvm install ruby-1.8.4" I get this message:

There is no checksum for 'http://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4.tar.gz' or 'ruby-1.8.4.tar.gz', it's not possible to validate it. This could be because your RVM install's list of versions is out of date. You may want to update your list of rubies by running 'rvm get stable' and try again. If that does not resolve the issue and you wish to continue with unverified download add '--verify-downloads 1' after the command. There has been an error fetching the ruby interpreter. Halting the installation.

Any suggestions? I was able to download the ruby- 1.8.4.tar.gz from another source, but I don't know how to make RVM install from a file.

Thank you very much in advance.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

As noted by @Eternal-Learner, RVM does not currently support 1.8.4, (you can get a list of the rubies that it can install using the rvm list known command).

That being said, per this discussion on their issue tracker from last year, you might be able to get them to try to implement it if you open up an issue.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...