Chris,

Thanks for the report. I think one source of trouble is that you are 
using an older version of Rubygems. The newer version will automatically 
install dependencies without asking, and i think it might also handle 
some of your other troubles better as well.

What version of rubygems do you have? ("gem --version") -- I have 1.3.4. 
You can update to the latest by doing "gem update --system" although i 
think this can take some time, and there may be issues updating past 
1.2.0.(details: http://rubyforge.org/forum/forum.php?forum_id=28071)

My guess is that this is happening a lot to people. Is there something 
we might do to make this work better? Add a dependency on a new version 
of rubygems? Appreciate all your thoughts.

Bret

Chris McMahon wrote:
>
> hi Watir people, long time no email.  
>
> I want to use Watir for a little project. I was installing it on a 
> Vista desktop.  Because it took 3 tries to get everything, Bret 
> suggested I mention that here.  Here is the full transcript of the 
> installation, which happened to still be up in my shell: 
>
>
> C:\Users\ChrisMc>irb
> irb(main):001:0> exit
>
> C:\Users\ChrisMc>gem install watir
> Bulk updating Gem source index for: http://gems.rubyforge.org
> Install required dependency win32-process? [Yn]  Y
> Install required dependency windows-pr? [Yn]  Y
> Install required dependency windows-api? [Yn]  Y
> Install required dependency win32-api? [Yn]  Y
> Select which gem to install for your platform (i386-mswin32)
>  1. win32-api 1.4.5 (ruby)
>  2. win32-api 1.4.5 (x86-mswin32-60)
>  3. win32-api 1.4.4 (ruby)
>  4. win32-api 1.4.4 (x86-mswin32-60)
>  5. Skip this gem
>  6. Cancel installation
> > 2
> Install required dependency win32-api? [Yn]  Y
> Select which gem to install for your platform (i386-mswin32)
>  1. win32-api 1.4.5 (ruby)
>  2. win32-api 1.4.5 (x86-mswin32-60)
>  3. Skip this gem
>  4. Cancel installation
> > 1
> Install required dependency test-unit? [Yn]
> Install required dependency hoe? [Yn]  Y
> Install required dependency rubyforge? [Yn]  Y
> Install required dependency json_pure? [Yn]  Y
> Install required dependency rake? [Yn]  Y
> Building native extensions.  This could take a while...
> ERROR:  While executing gem ... (Gem::Installer::ExtensionBuildError)
>     ERROR: Failed to build gem native extension.
>
> ruby extconf.rb install watir
> 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.
> 5 for inspection.
> Results logged to 
> c:/ruby/lib/ruby/gems/1.8/gems/win32-api-1.4.5/ext/gem_make.ou
> t
>
> C:\Users\ChrisMc>gem install watir
> Install required dependency win32-process? [Yn]  Y
> Install required dependency windows-pr? [Yn]  Y
> Install required dependency activesupport? [Yn]  Y
> Install required dependency commonwatir? [Yn]  Y
> Install required dependency user-choices? [Yn]  Y
> Install required dependency xml-simple? [Yn]  Y
> Install required dependency s4t-utils? [Yn]  Y
> Install required dependency builder? [Yn]  Y
> Install required dependency firewatir? [Yn]  Y
> Successfully installed watir-1.6.2
> Successfully installed win32-process-0.6.1
> Successfully installed windows-pr-1.0.8
> Successfully installed activesupport-2.3.4
> Successfully installed commonwatir-1.6.2
> Successfully installed user-choices-1.1.6
> Successfully installed xml-simple-1.0.12
> Successfully installed s4t-utils-1.0.4
> Successfully installed builder-2.1.2
> Successfully installed firewatir-1.6.2
> Installing ri documentation for watir-1.6.2...
> Installing ri documentation for win32-process-0.6.1...
> Installing ri documentation for windows-pr-1.0.8...
> Installing ri documentation for activesupport-2.3.4...
> Installing ri documentation for commonwatir-1.6.2...
> Installing ri documentation for user-choices-1.1.6...
> Installing ri documentation for s4t-utils-1.0.4...
> Installing ri documentation for builder-2.1.2...
> While generating documentation for builder-2.1.2
> ... MESSAGE:   Unhandled special: Special: type=17, text="<!-- HI -->"
> ... RDOC args: --ri --op 
> c:/ruby/lib/ruby/gems/1.8/doc/builder-2.1.2/ri --title
> Builder -- Easy XML Building --main README --line-numbers --quiet lib 
> CHANGES Ra
> kefile README doc/releases/builder-1.2.4.rdoc 
> doc/releases/builder-2.0.0.rdoc do
> c/releases/builder-2.1.1.rdoc
> (continuing with the rest of the installation)
> Installing ri documentation for firewatir-1.6.2...
> Installing RDoc documentation for watir-1.6.2...
> Installing RDoc documentation for win32-process-0.6.1...
> Installing RDoc documentation for windows-pr-1.0.8...
> Installing RDoc documentation for activesupport-2.3.4...
> Installing RDoc documentation for commonwatir-1.6.2...
> Installing RDoc documentation for user-choices-1.1.6...
> Installing RDoc documentation for s4t-utils-1.0.4...
> Installing RDoc documentation for builder-2.1.2...
> Installing RDoc documentation for firewatir-1.6.2...
>
> C:\Users\ChrisMc>gem install watir
> Successfully installed watir-1.6.2
> Installing ri documentation for watir-1.6.2...
> Installing RDoc documentation for watir-1.6.2...
>
> C:\Users\ChrisMc>gem install watir
> Successfully installed watir-1.6.2
> Installing ri documentation for watir-1.6.2...
> Installing RDoc documentation for watir-1.6.2...
>
> C:\Users\ChrisMc>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to