Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Error with 'require'
Kris Thomsen
4/13/2009 1:19:00 AM
Hi!
I'm new to Ruby.
I try to make a "require 'nokogiri", but get this error:
nationalBanken.rb:1:in `require': no such file to load -- nokogiri
(LoadError)
from nationalBanken.rb:1
I have tried to install nokogiri both from gems and from a Fedora 10
package: rubygem-nokogiri.
I get the same error when I tried with hpricot.
Anyone who can help?
--
Posted via
http://www.ruby-...
.
2 Answers
Phlip
4/13/2009 1:20:00 AM
0
Kris Thomsen wrote:
> nationalBanken.rb:1:in `require': no such file to load -- nokogiri
> (LoadError)
> from nationalBanken.rb:1
require 'rubygems' first.
Kris Thomsen
4/13/2009 1:33:00 AM
0
Phlip wrote:
> Kris Thomsen wrote:
>
>> nationalBanken.rb:1:in `require': no such file to load -- nokogiri
>> (LoadError)
>> from nationalBanken.rb:1
>
> require 'rubygems' first.
Thanks!
That worked perfect :)
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Error with 'require'
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