Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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