On 8 August 2011 19:10, RichardOnRails
<[email protected]> wrote:
> Hi,
>
> I've got the folowing script:
> require "fileutils"
>
> path = "K:/_Utilities/Apache/xampp/"
> FileUtils::cd path
> names = Dir.glob("**/index.html")
> (0..4).each { |i|
> name = names[i]
> address = "file://" + path + name
> puts address
> exec address
Possibly
exec "firefox #{address}"
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.