From: Eric Hodel Date: 2008-05-29T10:19:34+09:00 Subject: Re: ruby-opengl gem uses ruby1.9, even from gem1.8 On May 28, 2008, at 13:19 PM, David Masover wrote: > On Wednesday 28 May 2008 14:17:31 Eric Hodel wrote: >> They should have a different shebang line. Re-run `gem install rake` >> again to make plain `rake` be the 1.8 one. > > I just did, and it has a 1.9 shebang. I'm pretty sure I tried this > before. Then does `gem env` report 1.9 as the ruby version? >> You may want to add "install: --format-executable" to your ~/.gemrc >> to >> make gem add 1.8 or 1.9 to gem executable names so that they don't >> step on each others' toes. > > Ok, guessing that will be in root's homedir if I install gems via > sudo? In `sudo ruby -e 'p ENV["HOME"]'`, which is the my homedir for me. > And would there still be a default 'rake' command? If so, which > would it use? > (Configurable?) No, you would have to make a symlink to whichever you wanted to be the default.