How to update Ruby

A

Al Cholic

Hello,

Im on a mac and trying to update ruby. I update rails with the command:

sudo gem update rails --include-dependencies


and wondering if there is some sort of similar command for ruby.

Also, if I update ruby will it mess up my gems? Will I have to
reinstall them?

Thanks in advance.
 
T

Tim Pease

Hello,

Im on a mac and trying to update ruby. I update rails with the command:

sudo gem update rails --include-dependencies


and wondering if there is some sort of similar command for ruby.

Great idea, but alas, no.
Also, if I update ruby will it mess up my gems? Will I have to
reinstall them?

You should not have to reinstall your gems. However, if you get funny
errors, then that would be the first thing to do (especially with gems
that have native extensions).

As for the other part of your question, you really want to do a Google
search. It will give you a native installer as the first link
returned: http://www.google.com/search?hl=en&q=upgrade+ruby+mac&btnG=Search

If that's not your style, then try the DarwinPorts or Fink package managers.

You can always download the source code and install your own Ruby.
Here is a great set of instructions tailored for Tiger:
http://hivelogic.com/narrative/articles/ruby_rails_lighttpd_mysql_tiger

Blessings,
TwP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,264
Messages
2,571,314
Members
47,992
Latest member
JavierBini

Latest Threads

Top