zach
(zach@lt3media.com)
1
I'm trying to follow the examples here: http://code.whytheluckystiff.net/hpricot/wiki/HpricotBasics
However, I get "no such file to load -- hpricot"
I also tried include_gem but I get "Could not find RubyGem hpricot (>
0.0.0)"
Many thanks in advance
did you do this? gem install hpricot
if so,
require 'rubygems'
require 'hpricot'
should work fine.
zach
(zach@lt3media.com)
3
Yep. Installed the gem, did it all.
zach@lt3media.com wrote:
Yep. Installed the gem, did it all.
If you are doing this in Rails and you added the requires to environment.rb did you restart the server?
zach
(zach@lt3media.com)
5
I'm meant to put..
require 'rubygems'
require 'hpricot'
.. in my environment.rb?