From: Ryan Davis Date: 2010-12-23T08:16:48+09:00 Subject: Re: Problem with gems (require not working) On Dec 22, 2010, at 15:03 , Tomas Korcak wrote: > 2) I will try to check it with irb (You will see that irb is not able to > locate previously installed gem) > orczis@korczis-nb:~/prog/smartdata/bin$ irb > irb(main):001:0> require 'nokogiri' > LoadError: no such file to load -- nokogiri You need to 'require "rubygems"' in ruby 1.8. If your ~/.irbrc doesn't have that, you must do it explicitly when you fire up irb.