On Tuesday, May 18, 2010 01:47:39 pm Mark Kirby wrote:
> hi could any one tell me how to open a web page in ruby

require 'open-uri'
open 'http://example.com/foo' do |web|
  # ...
end

That's one way.

> i can open files
> on my pc IO.popen(wmp){file location}

I seriously doubt that this is how you open files.

> but cant seem to do web pages also my browser is chrome do i need i.e
> instead

No, never. Also, your browser has nothing to do with Ruby's ability to make 
network connections.

Or is that what you're asking? Or are you asking how to get Ruby to point your 
web browser to that location?