From: "Iñaki Baz Castillo" Date: 2011-02-28T19:49:09+09:00 Subject: Re: "gem NAME, VERSION" && "require NAME" fails due to version conflict 2011/2/28 Iñaki Baz Castillo : >> 10002 % gem list nokogiri >> nokogiri (1.4.4, 1.4.1) >> 10003 % irb >>>> require "rubygems" >> => true >>>> gem "nokogiri", "= 1.4.1" >> => true >>>> require "nokogiri" >> => true >>>> Nokogiri >> => Nokogiri >> 10004 % gem -v >> 1.5.3 > > Same fails in my system with RubyGem 1.3.7. Note however that I'm > using the gem command provided by the Debian/Ubuntu package. I will > check upgrading to 1.5.3. Annoying, I get the very same error with Gem 1.5.3: ~# gem list nokogiri nokogiri (1.4.4, 1.4.3) irb(main):002:0> require "rubygems" true irb(main):003:0> gem "nokogiri", "=1.4.3" true irb(main):004:0> require "nokogiri" Gem::LoadError: can't activate nokogiri (= 1.4.4, runtime) for [], already activated nokogiri-1.4.3 for [] ~# gem -v 1.5.3 -- Iñaki Baz Castillo