Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
irb -r gemname produces error
Gaudi Mi
5/22/2009 11:32:00 AM
Noobie question: every time I run for example:
irb -r hpricot
I get the error:
...'require': no such file to load -- hpricot (LoadError)...
and it happens regardless of which gem I wish to require. I do a gem
list and it shows the gems I need are all installed. What am I
overlooking?
Thanks!
--
Posted via
http://www.ruby-...
.
1 Answer
Adam Gardner
5/22/2009 3:00:00 PM
0
Gaudi Mi wrote:
> Noobie question: every time I run for example:
>
> irb -r hpricot
>
> I get the error:
>
> ...'require': no such file to load -- hpricot (LoadError)...
>
> and it happens regardless of which gem I wish to require. I do a gem
> list and it shows the gems I need are all installed. What am I
> overlooking?
>
> Thanks!
Assuming that you're running Ruby 1.8.x, what you're missing is a
-rubygems option.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
irb -r gemname produces error
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password