railsinstaller / railsinstaller-nix

RailsInstaller for OSX/Linux
http://railsinstaller.org/
65 stars 12 forks source link

Unable to change group for /opt to rvm #18

Open emachnic opened 11 years ago

emachnic commented 11 years ago

Summary

On a fresh OSX 10.8.3, I tried to run Railsinstaller but the installer was unable to change the group for /opt

Expected behavior

I expected the installer to just finish properly like usual

Actual behavior

I received an error that the installer was unable to change the group for /opt to "rvm"

Steps to reproduce

rollercomsolutions commented 11 years ago

I Second This!

Albert-Liu commented 11 years ago

Perhaps a hint at the cause or a workaround, I wrote at

https://groups.google.com/forum/#!msg/railsinstaller/J4_8prZHoVU/S1nfw3IciSMJ

Whatever the installer is doing (and/or perhaps a problem with OSX, 10.8.3 on my system), I encountered the following on the command line:

$ sudo chgrp rvm /opt/rix chgrp: rvm: illegal group name

I was able to use the group id number to change successfully. (The group id will most likely differ by system; I looked mine up using dscl.) After which, the install succeeded.

A system reboot did allow chgrp rvm at the command line to work.

jlynch80 commented 11 years ago

I did a clean install of OS X 10.8.3 Mountain Lion. I had this same issue. I installed Xcode and it's CLI tools. Did a restart, now all is well. Install went fine. Thanks.

macropin commented 11 years ago

A system reboot did allow chgrp rvm at the command line to work.

Yes, that is what was required here as well.

ghost commented 11 years ago

Worked great, thanks for posting a solution. Got the error on a newly installed 1.8.3. Installed Xcode, restarted, ran the chgrp command line command, ran the rails installer.

bayendor commented 11 years ago

Encountered the same problem. Had to restart Mac twice, then installer ran fine.

On another install with the same issue I ran fix permissions, which corrected a whole slew of improper file ownerships. Installer then ran fine.

lafber commented 11 years ago

Same here.

Fiw it by giving my user admin right (not sure it was part of the fix), reboot and installer works. Weird.

chadalderson commented 11 years ago

Same here. Had a fresh copy of OS X 10.8.4 and got the following error during install: http://d.pr/i/bbte - installed Xcode, rebooted and it worked.