Jonathan Kohl wrote:
I
am getting some emails reporting a couple of issues. The first is from
folks trying to install Watir with Ruby 182-15. They get an error
message about the installer not being able to find Fox. Looks like Fox
is now installed as a Gem, so one must also require rubygems in the
installer. We should figure out a way to clean this up; I'm wondering
how many new users are running into this, not telling us and moving on
in frustration.
Here
are two issues that were last emailed to me:
I installed the 182-15 one-click Ruby build to
start. When I tried to install watir using install.rb, the install
failed because the Fox gui libraries couldn't be found. This seems
likely to be a problem with the ruby installation not working
correctly. The installer mentioned something about running a "command
line" version of the installer, but it wasn't obvious where that might
be and your documentation didn't mention anything about it either. So,
I figured that 182-15 was shot just like 182-13 is. :)
- After downloading and installing 182-14, I was
able to get the watir installer to start up and run. However, during
the installation, I got a dialog saying that a
LoadLibrary("c:\Programs") failed (or something to that effect). This
is because I installed Ruby in "C:\Program Files\Ruby" and watir in
"C:\Program Files\Ruby\watir" initially (since I don't like to clutter
up C:\ and D:\). I'm guessing that the load library call can't handle
the space in the directory name. This could be a watir install problem
(improper string quoting/escaping) or a ruby load library problem I
guess.
These
have been popping up on the email list as well lately. Any thoughts or
ideas on fixes?
Thanks;
-Jonathan
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
The problem is quite easy to
fix, simply add require 'rubygems' right before the require 'fox'
line.... Everything works from there.
j.
|
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general