Chris Gehlker
8/12/2006 7:27:00 PM
On Aug 12, 2006, at 11:43 AM, Geoff Hulette wrote:
> I am trying to use the XmlSimple gem, but Ruby can't seem to find
> it, or
> any other gems. I did
>
> $ sudo gem install xml-simple
>
> which seemed to work fine. but then
>
> $ ruby -e "require 'xmlsimple'"
> -e:1:in `require': no such file to load -- xmlsimple (LoadError)
> from -e:1
>
> maybe gems is installed wrong?
I do:
require 'rubygems'
require_gem '<gem_name>'
Which seems to work just fine.
--
The folly of mistaking a paradox for a discovery, a metaphor for a
proof, a torrent of verbiage for a spring of capital truths, and
oneself for an oracle, is inborn in us.
-Paul Valery, poet and philosopher (1871-1945)