From: "Piotr S." Date: 2011-01-21T23:29:24+09:00 Subject: using gems installed via 'sudo gem install' I've installed ruby-opengl through sudo gem install because there were errors otherwise and now I can't use it with 'ruby main.rb'. When I typed 'sudo ruby main.rb' I think it worked but there were errors considering hashes as they're changed in latest version of ruby (I think I have different ruby versions as I'm also using RVM). I know it's confusing but is there a way to somehow transfer gem from root to rvm or maybe a way to access roots gems without sudo triggering wrong version of ruby? gem install ruby-opengl fails saying that it can't find rake executable for rake-0.8.7. I can install rake via 'gem install' but it doesn't really work because I can install it multiple times without it complaining about rake being already installed. -- Posted via http://www.ruby-forum.com/.