So gem has the wrong version of ruby in the environment. I suspect this
may be the reason of some weird errors I’ve been seeing. So how do I
change the gem environment?
So gem has the wrong version of ruby in the environment. I suspect
this
may be the reason of some weird errors I’ve been seeing. So how do I
change the gem environment?
You need to install gem (and all your gems) again, under the new ruby.
Each ruby gets its own gems, stored in its own version tree.
I read it, aslo it worked. But still think using RVM is much better
solution, later you won’t have headache, and you can use more then 1
Ruby+Rails+Gem versions on same system.