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

Charles Franklin
Charles Franklin
17,535 Points

OS X Mavericks

I'm having trouble with Ruby on OS X Mavericks... I think I may have overstepped and tried to install too many versions... I can get the CMD prompt. I can do rvm use 2.0.0 command. But when I try and start the server I dont get anything like the output that was given in the video... I get..

Charles-Franklins-iMac:~ charlesfranklin$ rails server /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:296:in to_specs': Could not find 'railties' (>= 0) among 6 total gem(s) (Gem::LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:307:into_spec' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in gem' from /usr/bin/rails:22:in<main>'

If anyone can help I'd appreciate it...

Chip

1 Answer

Brandon Barrette
Brandon Barrette
20,485 Points

The rails installer used in the videos doesn't work for Mavericks. I would start over and follow these instructions:

http://teamtreehouse.com/library/installing-a-ruby-development-environment

Note you'll have to uninstall RVM (google it for advice on doing that). You might also want to follow this course about using the terminal and command line:

http://teamtreehouse.com/library/console-foundations-2