I\'ve tried this but it didn\'t work and seemed to be for osx. I have a fresh Ubuntu 10.10 install with rvm, rails 3 and ruby 1.9.2. I have a fresh rails app but using eithe
You use the chmod go-w to whatever path the terminal gives you.
So if it says /usr/local as the path in the error message:
warning: Insecure world writable dir /usr/local in PATH, mode 040777
You write
chmod go-w /usr/local