From: Hassan Schroeder Date: 2011-01-22T02:28:54+09:00 Subject: Re: using gems installed via 'sudo gem install' On Fri, Jan 21, 2011 at 8:52 AM, Piotr S. wrote: > I am using rvm with 1.9.2 version and by what I said before I meant that > there was an older version of ruby preinstalled in my system (ubuntu > 10.10). > > I couldn't find a solution to my problems and then it somehow worked > using sudo (gem installation) therefore I was wondering if there is a > different way to do it. > > There is only one error (without sudo) > "ERROR: Failed to build gem native extension" and then there is a bunch > of stuff with "'bin_path': can't find executable rake for rake-0.8.7" > somewhere in the first couple of lines. > I was searching through some forums where this error was appearing > because of white spaces in Windows folders. But I'm using linux and > everything seems fine especially because it is all working just fine > using 'sudo'. If it's "all working just fine" then why are you posting? Alternatively, if you want to use the rvm version of Ruby, then fix the problem installing the gem you want. At least, that's what I would do. -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com twitter: @hassan