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!

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


NOOB - Try to install Ruby... Help!

Hello TreeHouse Forum!

I'm watching the Ruby Course and I've been stuck simply trying to install the Railsnstaller. I keep getting the following error message

"There has been an error. Error changing group of / opt/rix to dvm The application will exit now. "

What do I do?

9 Answers

James Barnett
James Barnett
39,199 Points

It's a permissions error. The easiest way to fix it, is to run Repair Disk Permissions on your hard drive.

  • Open Disk Utility
  • Choose Macintosh HD
  • Click Repair Disk Permissions

Hey Shaun, are you trying to install Ruby on a Windows or OSX machine? (Or Linux?)

OSX Version 10.8.2

James Barnett
James Barnett
39,199 Points

Sounds like a permissions issue to me.

Shaun, can you please tell us what errors you're getting?

Jason Seifer
Jason Seifer
Treehouse Guest Teacher

Hey Shaun, this is a strange error. Try restarting your computer and re-running the RailsInstaller, I've heard reports that helps.

Hey guys thanks for all your help , I got an email from Jason telling me to do the same thing as James suggested ... And now it works! Thanks everyone! Now my problem is how do you get the terminal to find the text mate .rb document?

James Barnett
James Barnett
39,199 Points

Shaun - You just need to change your working directory in the terminal. Check out Jim's awesome Getting Started with the Console stage, to learn all about navigating around via the command line.

Are you just trying to open the .rb document in TextMate from the terminal? If so, make sure you have have the mate command installed using the pane pictured here:

TextMate Terminal Pane

Then just type mate path/to/file.rb in the terminal and the file should open in TextMate. If that's not what you're looking for just let us know and we'll do our best to get you sorted. :smiley: