Hi,

I am getting an error when i tried to install watir on my windows 7 machine. 
Please help!

1) I have installed ruby186-27_rc2 from 
http://rubyinstaller.org/downloads/archives.
2) ran the following commands in the command prompt.
              gem update --system
              gem install watir

the gem update --system command worked fine. But the gem install watir 
command gave me the following error. 

C:\Users\sridhar.bulusu.REPLICON>gem install watir
Building native extensions.  This could take a while...
ERROR:  Error installing watir:
        ERROR: Failed to build gem native extension.

C:/Ruby/bin/ruby.exe extconf.rb
checking for strncpy_s()... no
creating Makefile

nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.


Gem files will remain installed in 
C:/Ruby/lib/ruby/gems/1.8/gems/win32-api-1.4.
7 for inspection.
Results logged to 
C:/Ruby/lib/ruby/gems/1.8/gems/win32-api-1.4.7/ext/gem_make.out

I tried uninstalling ruby and reinstalling it many times. But it is not 
solving my issue. 

Prior to installing  ruby186-27_rc2 i installed Ruby 
1.9.1-p429<http://rubyforge.org/frs/download.php/71495/rubyinstaller-1.9.1-p429.exe>
 from http://rubyinstaller.org/downloads/archives. And then i found that Ruby 
1.9.1-p429<http://rubyforge.org/frs/download.php/71495/rubyinstaller-1.9.1-p429.exe>
 is 
not what i want. So, i uninstalled Ruby 
1.9.1-p429<http://rubyforge.org/frs/download.php/71495/rubyinstaller-1.9.1-p429.exe>
 and 
installed  ruby186-27_rc2. I don't know if that is causing me all the 
problems. Please suggest a solution. Thanks!



-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to