How to open URL's in rails?
Posted
by yuval
on Stack Overflow
See other posts from Stack Overflow
or by yuval
Published on 2010-06-02T02:17:42Z
Indexed on
2010/06/02
2:23 UTC
Read the original article
Hit count: 326
ruby-on-rails
|screen-scraping
I'm trying to read in the html of a certain website.
Trying @something = open("http://www.google.com/")
fails with the following error:
Errno::ENOENT in testController#show
No such file or directory - http://www.google.com/
Going to http://www.google.com/
, I obviously see the site. What am I doing wrong?
Thanks!
© Stack Overflow or respective owner