Oh, yeah. I forgot all about the "space in path" thing.
And for even more help, try this URL: http://www.openqa.org/watir/ sometimes, I forget and go to the old site: http://wtr.rubyforge.org/ On 2/2/07, Ethan Jewett <[EMAIL PROTECTED]> wrote:
It's been a while since I tried an executable installer so I'm not sure about your specific problem. It looks like you've got a space in your path, which can cause problems in some scripts. As with all things Ruby, it tends to be easier to go the "Ruby Way" and use the gem installer. Figuring out the Ruby Way is the hard part : ) If you open your command prompt and type: gem install watir That should install Watir 1.4.1 as a Ruby gem, which will probably take care of the issue. You'll then be able to find the Watir install and unit tests under ruby/lib/ruby/gems/1.8/gems/watir . . . where the first "ruby" is your root ruby install directory. If that command (gem) is not a recognized command, then you do indeed have a path issue, and you might want to try reinstalling ruby under the C:\ directory, or following a howto on adding a directory to your PATH like http://www.computerhope.com/issues/ch000549.htm. Just add your ruby/ directory to the path and you should be all set. Ethan On 2/2/07, RobG <[EMAIL PROTECTED]> wrote: > > I hope this is an acceptable topic for this list... > > I just installed Ruby 1.8.5 on my system, and then, with much effort, > managed to get the watir-1.4.1.exe installed (it has a major install bug > that I was able to circumvent). > > So after all that, I open a command prompt into the installation > location, and run all_tests.rb as instructed, and I get the errors below: > > > C:\Program Files\Watir\unittests>all_tests.rb > C:/Program Files/Watir/unittests/../unittests/setup.rb:4:in `require': > no such f > ile to load -- watir (LoadError) > from C:/Program Files/Watir/unittests/../unittests/setup.rb:4 > from C:/Program Files/Watir/unittests/all_tests.rb:4:in 'require' > from C:/Program Files/Watir/unittests/all_tests.rb:4 > > > > It looks like it might be a simple pathing issue, but I'm not sure. I > do have the path setup so that I can run regular ruby, but I haven't > tried to add anything for watir yet; I thought I would ask here first. > > I don't remember having this problem about eight months ago when I first > tried Watir, but that was on another computer. > > Any help would be appreciated. Thanks! > > Rob > > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general > _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
-- "I am the most humble person in the world!"
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
