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 trialWilfredo Casas
6,174 PointsWhat 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"
2 Answers
Jennifer Nordell
Treehouse TeacherMy 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!
Wilfredo Casas
6,174 Pointshmm so after I ran again "sudo gem install rails", it ran ok, then I tried to verify with rails -v and this appeared
Wilfredo Casas
6,174 PointsWilfredo Casas
6,174 PointsThanks! I tried but when I got to rails this error appeared
http://screencast.com/t/NMLJTQaIlhLH
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherWilfredo 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!
Wilfredo Casas
6,174 PointsWilfredo Casas
6,174 PointsI 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
Treehouse TeacherJennifer Nordell
Treehouse TeacherYes, 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 usesudo
.Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherThen 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.