wayneeseguin/rvm — pull request #709 by kschiess (2012-01-17 13:00:28+00:00)
Title: Executables in scripts/* have don't have the x flag set; Fix.

Not having scripts/gemsets executable would result in

Error running '' under ,
please read /usr/local/rvm/log/ruby-1.9.2-p290/gemsets.initial.log

where the error logged is

/usr/local/rvm/scripts/functions/environment: /usr/local/rvm/scripts/gemsets: /usr/bin/env: bad interpreter: Permission denied

during installation of rubies in fresh installations of rvm. This commit fixes all scripts that
have a shebang line to be executable, thereby avoiding such problems. This problem was introduced in e8ff8f137b8706b22f6965eb4d4a4e197bcce177.