ruby1.9.1 can't find installed gems, yet ruby1.8 can...

Posted by Zombies on Stack Overflow See other posts from Stack Overflow or by Zombies
Published on 2010-06-18T01:57:13Z Indexed on 2010/06/18 2:03 UTC
Read the original article Hit count: 242

Filed under:
|

On ubuntu here. I installed both ruby1.8 and ruby1.9.1. I also ran these commands

ruby1.8 setup.rb
ruby1.9.1 setup.rb

Both worked fine, I was also able to install gems for both. The gems in gem 1.9.1 and gem1.8 both show up correctly for gem list. The problems however begin with this: ruby1.9.1 some_script.rb. It cannot find any of the gems. I tried uncommenting some out figuring that parseconfig was the problem, yet it couldn't find any of the others, which are definetly in gem1.9.1 list. Any thoughts as to what is causing this/how to recover?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about rails-agnostic