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 trialBrad Bucceri
7,102 PointsRails installer issue /opt/rix
Hi, I wonder if anyone knows what is causing this issue? I am trying to run the rails installer but after entering my GIT info it gives me this error:
There has been an error
Error changing group of /opt/rix to rvm
The application will exit now
Thanks for any advice!
Brad
Brad Bucceri
7,102 PointsAhh that sounds like a good possibility. I use Tower as my Github client and i found I had permission issues when trying to create a new folder in my 'sites' folder which sits in my user directory (if i understand correctly).
Not sure how i'd go about editing those permissions though?
B
2 Answers
James Barnett
39,199 PointsA quick search of the Treehouse from for /opt/rix
revealed:
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
from thread: https://teamtreehouse.com/forum/help-can-not-install-ruby-on-rails#show-answer-3016
Brad Bucceri
7,102 PointsHi James,
a quick side-note question... Is there any risk of damaging files/apps that I have on my macbook my following the above steps?
Thanks,
b
John Paul Ashenfelter
1,118 PointsBrad
Its only going to work on Apple-specific files and files that are part of a package with receipts (see http://support.apple.com/kb/HT1452) so it can only set the permission back to what they are "supposed" to be and only for files that it knows what the permissions should be.
Brad Bucceri
7,102 PointsThis solution worked perfectly. thanks guys!
Alan Johnson
7,625 PointsAwesome! Great answer, James Barnett!
Alan Johnson
7,625 PointsI found what looks like the same issue over on GitHub, and it looks like a system reboot should resolve that and make it possible for you to install.
Brad Bucceri
7,102 PointsThat looks perfect, i'll give it a go and let you guys know if it works, thanks!!
John Paul Ashenfelter
1,118 PointsJohn Paul Ashenfelter
1,118 PointsIs /opt/rix your user directory? Seems like it is a permission problem