Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to change group for /opt to rvm #18

Open
emachnic opened this issue Mar 21, 2013 · 8 comments
Open

Unable to change group for /opt to rvm #18

emachnic opened this issue Mar 21, 2013 · 8 comments

Comments

@emachnic
Copy link

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
Copy link

I Second This!

@Albert-Liu
Copy link

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
Copy link

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
Copy link

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

Yes, that is what was required here as well.

@ghost
Copy link

ghost commented May 22, 2013

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
Copy link

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
Copy link

lafber commented Jun 29, 2013

Same here.

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

@chadalderson
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants