Howdy folks,

Requiring gems doesn't work unless I use gem 'gemname' before require
'gemname'. Any idea why?

Here is an example:

# gem list

*** LOCAL GEMS ***

abstract (1.0.0)
.
.
.
nokogiri (1.4.1)
.
.
.

# irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'nokogiri'
LoadError: no such file to load -- nokogiri
  from (irb):2:in `require'
  from (irb):2
  from /usr/bin/irb:12:in `<main>'
irb(main):003:0> gem 'nokogiri'
=> true
irb(main):004:0> require 'nokogiri'
=> true
-- 
Posted via http://www.ruby-forum.com/.