Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Kevin Korte
Kevin Korte
28,149 Points

Should I upgrade my version of Ruby?

Quick question, I'm just starting to really play with Ruby and Rails, but I installed them both on my work computer awhile ago.

Computer is Win7, Ruby is v 1.9.3p392 and rails is v 4.2.0.beta2

Everything works fine when I set up a new rails app, but am I going to run into problems later. I'll have to check tonight but I think my Mac is running v2 something of ruby, and I'll likely develop on both machines using git to keep both in sync.

I don't know enough about Ruby yet to know if I'm shooting myself in the foot from the get go.

Thanks!

1 Answer

Hi Kevin,

Yep, you should upgrade latest version to both Ruby and Rails on your Mac, best recommendation is to use Mac rather than Windows which will run many issues later and time consumptions. ;)

Kevin Korte
Kevin Korte
28,149 Points

Arg, I was afraid of that. It was a pain just to get the RoR welcome page to load the very first time on Windows. Now I'm afraid to change anything on the windows environment.

I'll just try to keep windows development to a bare minimum, use the Macbook for most of it. I can handle the upgrade on Mac tonight. Lot's of information online, it doesn't look too bad.

Might try it on windows and if it breaks, oh well. Could be a good learning experience.

Thanks friend!

Yes, I had similar experiences from Window to different environment, I choose Ubuntu for more effective process with Ruby, similar to Mac or Linux, if you try to add more features downloading from many gems, it wouldn't work well with Windows. That's another big disadvantage.

At least we can try both experiments on different platforms. If you prefer just to use Chrome or Firefox in Windows without upgrading whole systems and command lines, try Nitrous.io

Kevin Korte
Kevin Korte
28,149 Points

Well, my very first db:migrate failed, something about different number of arguments. Was literally walking down this guide http://guides.rubyonrails.org/getting_started.html so that I can start to learn the syntax better, like I do with PHP. Couple of stackoverflow questions are pointing to the fact I'm running pre2.0 ruby with post 4.0 rails. Kinda just gave up for the moment. At least the mac works.

Nitrous looks quite interesting. I'll have to explore it more! Thanks for the help