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,751 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
PRO
William Li
Pro Student 26,799 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.

Ryan Blakeney
Ryan Blakeney
8,611 Points

Worked perfectly, Thank you!