[Ironruby-core] Accessing open-uri from the same directory

Mohammad Azam lists at ruby-forum.com
Wed Jun 17 10:34:02 EDT 2009

I am using the following code to scrape the webpage.

button = Button.new
button.Text = 'Scrape URL'
button.Location = System::Drawing::Point.new(108,61)
button.click  do |sender,args|

  page = File.open("http://www.azamsharp.com/Default.aspx")


I get the following error message:

Invalid argument - URI formats are not supported

Posted via http://www.ruby-forum.com/.

More information about the Ironruby-core mailing list