So this is weird. I have this in one of my controllers:
f = open("http://www.google.com")
@s = f.read
And that's fine. I can echo @s back out in the view, and it works like
a charm. But the second I do this (in the controller):
doc = Hpricot(@s)
I get an error 500 (internal server error). I have rubygems, open-uri,
and hpricot all included. Any ideas what's going on? I'm under a
pressing deadline and this one's really got me stumped.
Thanks in advance!!!