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



I'm trying to run the railsinstaller, but when the installation starts, it immediately stops and a pop-up window say "Error changing group /opt/rix to rvm" and in the setup window it says "Directory already exist: /opt/rix", then the installer just quits. Does anyone know what the problem is?

If your would like a easier method as i had nightmare installing Rails on Windows. So i use Cloud9 IDE, simple to set up choose your Ruby and Rails versions and its all hosted in the cloud for you.

2 Answers

As silly as this sounds 99% of the time restarting your Mac fixes the issue. If not, James Barnett posted these steps on another thread.

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

  1. Open Disk Utility
  2. Choose Macintosh HD
  3. Click Repair Disk Permissions
  4. Restart your Mac

That fixed it. Thanks so much