List Info

Thread: Installation Problem




Installation Problem
user name
2007-02-02 17:05:01
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 FilesWatirunittests>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
Wtr-generalrubyforge.org
htt
p://rubyforge.org/mailman/listinfo/wtr-general

Re: Installation Problem
user name
2007-02-02 17:28:43
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 <snarfblatyahoo.com> 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 FilesWatirunittests>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
> Wtr-generalrubyforge.org
> htt
p://rubyforge.org/mailman/listinfo/wtr-general
>
_______________________________________________
Wtr-general mailing list
Wtr-generalrubyforge.org
htt
p://rubyforge.org/mailman/listinfo/wtr-general

Re: Installation Problem
user name
2007-02-02 17:41:26
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 < esjewettgmail.com">esjewettgmail.com > wrote:
It's been a while since I tried an executable installer so I'm not
sure about your specific problem.&nbsp; It looks like you've got a space in
your path, which can cause problems in some scripts.&nbsp; 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.&nbsp; You'll then be able to find the Watir install
and unit tests under ruby/lib/ruby/gems/1.8/gems/watir . . . &nbsp;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 < snarfblatyahoo.com">snarfblatyahoo.com> wrote:
>;
> I hope this is an acceptable topic for this list...
&gt;
> I just installed Ruby 1.8.5 on my system, and then, with much effort,
&gt; 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 FilesWatirunittests&gt;all_tests.rb
> C:/Program Files/Watir/unittests/../unittests/setup.rb:4:in `require&#39;:
> no such f
> ile to load -- watir (LoadError)
; &nbsp; &nbsp; &nbsp; &nbsp; from C:/Program Files/Watir/unittests/../unittests/setup.rb:4
>&nbsp; &nbsp; &nbsp; &nbsp;   ;from C:/Program Files/Watir/unittests/all_tests.rb:4:in 'require'
&gt; &nbsp; &nbsp;   ; &nbsp; from C:/Program Files/Watir/unittests/all_tests.rb:4
>
&gt;
>
&gt; It looks like it might be a simple pathing issue, but I'm not sure. ; I
&gt; 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. &nbsp;Thanks!
>
> Rob
>
&gt; _______________________________________________
> Wtr-general mailing list
> Wtr-generalrubyforge.org"> Wtr-generalrubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>;
_______________________________________________
Wtr-general mailing list
Wtr-generalrubyforge.org">Wtr-generalrubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general



--
"I am the most humble person in the world!&quot;
Re: Installation Problem
user name
2007-02-05 16:04:45
Install Watir 1.4.1 to a folder with no spaces in it.  e.g. C:Watir

It should work.


On 02/02/07, RobG < snarfblatyahoo.com"> snarfblatyahoo.com> 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 FilesWatirunittests&gt;all_tests.rb
C:/Program Files/Watir/unittests/../unittests/setup.rb:4:in `require&#39;:
no such f
ile to load -- watir (LoadError)
 &nbsp; &nbsp; &nbsp;   from C:/Program Files/Watir/unittests/../unittests/setup.rb:4
 &nbsp; &nbsp;   ;  from C:/Program Files/Watir/unittests/all_tests.rb:4:in 'require'
&nbsp; &nbsp; &nbsp;   ; 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. &nbsp;Thanks!

Rob


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )