ruby gems under rvm on Ubuntu (failing to) install in the wrong location
问题 I'm running Ubuntu 10.04 and originally installed ruby 1.9.1 (from source). I've just decided to try out ruby 1.9.2 and rails 3, and it seemed like a good time to use rvm to deal with the multiple ruby installs and gemsets. rvm installed and seems to be working, I installed ruby 1.9.2 in rvm and made that my default ruby. However, every time I try to install a gem under ruby 1.9.2 I see this error. mark@Steve-Austins-Penguin:~$ gem install haml ERROR: While executing gem ... (Errno::EACCES)