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 Installing a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Mac

Matthew Vernon
Matthew Vernon
5,276 Points

Can't install rails on Mac

I try to install Rails, and it seems like it has installed properly, then go to test it out by enterning "rails new testapp" and I get this prompt:

"Rails is not currently installed on this system. To get the latest version simply type: $ sudo gem install rails"

So I type that command, and again it seems like it has completed, so i try to create a test app again, and the same prompt appears.

Ace Motanya
Ace Motanya
31,756 Points

do you have ruby installed and what directory are you running the rails install command?

Matthew Vernon
Matthew Vernon
5,276 Points

Ace Motanya Yes I have Ruby installed. I'm running the rails install command in the ~ directory

1 Answer

William Li
PLUS
William Li
Courses Plus Student 26,868 Points

Hi, Matthew Vernon I'd suggest that you follow this workshop Install Ruby on Rails on Mac to get Rails installed on your Mac, as the instruction of this workshop is more up-to-date.

Worked perfectly, Thank you!