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 Build a Simple Ruby on Rails Application Getting Started with Rails Installing Rails (Mac)

What to do? "This installer was made only for OSX 10.7 / 10.8, exiting now"

Tried to install ruby on rails on my mac but this message appeared:

"This installer was made only for OSX 10.7 / 10.8, exiting now"

image: http://screencast.com/t/1pypr96STPha

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

My advice would be to follow the instructions on this site:

https://gorails.com/setup/osx/10.11-el-capitan

My assumption here is that you're running 10.11 El Capitan on your Mac.

Hope this helps! :sparkles:

Thanks! I tried but when I got to rails this error appeared

http://screencast.com/t/NMLJTQaIlhLH

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Wilfredo Casas whenever you get a permissions error like that, you should rerun the command with sudo in front.

sudo gem install rails

Try that and see how it goes! :sparkles:

I copied the sudo command you gave me, I think it ran ok. Then I tried again running "gem install rails -v 4.2.6" but same problem appeared:

http://screencast.com/t/4v8E3VXcjM

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Yes, because you ran it again without the sudo. If it installed ok with the sudo there should be no reason to install it again.

Ok, because of the sandboxing features included in El Capitan you are not going to be able to install any important system changing things without the sudo command. This command makes the command you're trying to run execute as a "super user". That command is short for "super user do". So any time you get a permissions denied error you need to use sudo.

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Then I don't know. All I can do is point you in the direction of the Ruby site which I gave in the original answer. You may have to repost this question. If I delete the answer, all the comments get deleted as well so I'd rather not in case someone else is also having this problem.

hmm so after I ran again "sudo gem install rails", it ran ok, then I tried to verify with rails -v and this appeared

http://screencast.com/t/2pbxXYR4ULy