Created
May 7, 2012 17:58
-
-
Save corporealfunk/2629329 to your computer and use it in GitHub Desktop.
Fix Spork 0.9.0+ permissions problems in system-wide RVM installs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo find /usr/local/rvm/gems/ruby-1.9.2-p290/gems/spork-0.9.0 -name "*.rb" -exec chmod go+r {} \; | |
sudo find /usr/local/rvm/gems/ruby-1.9.2-p290/gems/spork-0.9.0 -name "spork" -exec chmod g+r {} \; | |
sudo find /usr/local/rvm/gems/ruby-1.9.2-p290/gems/spork-0.9.0 -type d -exec chmod go+rx {} \; | |
sudo chmod -R g+rw /usr/local/rvm/gems/ruby-1.9.2-p290/gems | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment