Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Should I take any considerations for my Rails 3.0/3.1, Ruby 1.9.2 development machine running OS X 10.6 Snow Leopard before upgrading to OS X 10.7 Lion?

Will there be anything that I need to reinstall? Finally should I backup my gem sets somehow?

share|improve this question
    
Check the App Compatibility Table. You might also want to consult the StackOverflow community. –  digitxp Aug 23 '11 at 15:18
1  
No definite answer, but generally it shouldn't be a problem. If you want to make sure, you can always reinstall (recompile) Ruby. Backing up everything is something you should do anyway :P –  slhck Aug 23 '11 at 15:21
    
Sounds good guys, thanks. I run time machine hourly so I couldn't imagine there being any un-restorable changes. –  Robert Klubenspies Aug 24 '11 at 0:12

1 Answer 1

up vote 1 down vote accepted

OS X (including Lion) comes bundled with it's own version of ruby, which will probably overwrite your current version. (I'm not sure if Lion is using 1.8.7 or 1.9*) But the worst that could happen is you'll have to upgrade to 1.9.2 after upgrading to Lion.

This shouldn't be difficult, but you may also have to reinstall all your custom gems, etc. I would suggest using RVM to manage Ruby independent of the local version on your machine. It painlessly allows you to keep track of any version of ruby you want per application so you don't have to fool around with your machine's version and other applications that may depend on it.

IE You could have one application using 1.8.7 and another using 1.9.2 each with their own set of gems and no conflict between them or your machine which may have it's own version as well.

There's a screencast demonstrating RVM on Railscasts.

share|improve this answer
    
Thanks lewombie! I'm using RVM right now so I imagine the re-install would be painless. –  Robert Klubenspies Oct 27 '11 at 0:08
    
No problem, you can also create a .rvmrc file that goes in the root directory which instructs RVM exactly which version of Ruby is needed, so you don't have to manually remember to switch and it makes it easy to share the code with others. –  ere Oct 27 '11 at 8:03
    
I've been doing that in my projects to automatically change gemsets but I never realized that I can do it my root directory! Thanks again! –  Robert Klubenspies Oct 28 '11 at 15:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.