Yeah I was wondering if that might be a problem. I have experienced the same problem in the past. So I guess it did matter that I was using MSYS and MinGW to install the gem.
On Tue, Feb 9, 2010 at 11:48 AM, Matt <thurman_m...@yahoo.com> wrote: > ok, I got past the first command and received an error on the 'gem > install watir' command. Here is the output: > > > ####################################################################################### > > C:\Windows\system32>gem update --system > Updating RubyGems > Nothing to update > > C:\Windows\system32>gem install watir > Building native extensions. This could take a while... > ERROR: Error installing watir: > ERROR: Failed to build gem native extension. > > C:/Ruby19/bin/ruby.exe extconf.rb > checking for strncpy_s()... *** extconf.rb failed *** > Could not create Makefile due to some reason, probably lack of > necessary libraries and/or headers. Check the mkmf.log file for more > details. You may need configuration options. > > Provided configuration options: > --with-opt-dir > --without-opt-dir > --with-opt-include > --without-opt-include=${opt-dir}/include > --with-opt-lib > --without-opt-lib=${opt-dir}/lib > --with-make-prog > --without-make-prog > --srcdir=. > --curdir > --ruby=C:/Ruby19/bin/ruby > C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:364:in `try_do': The complier failed > to generat > e an executable file. (RuntimeError) > You have to install development tools first. > from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:417:in `try_link0' > from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:421:in `try_link' > from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:529:in `try_func' > from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:774:in `block in > have_func' > from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:670:in `block in > checking_for' > from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:276:in `block (2 levels) > in postpo > ne' > from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:250:in `open' > from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:276:in `block in > postpone' > from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:250:in `open' > from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:272:in `postpone' > from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:669:in `checking_for' > from C:/Ruby19/lib/ruby/1.9.1/mkmf.rb:773:in `have_func' > from extconf.rb:9:in `<main>' > > > Gem files will remain installed in C:/Ruby19/lib/ruby/gems/1.9.1/gems/ > win32-api- > 1.4.5 for inspection. > Results logged to C:/Ruby19/lib/ruby/gems/1.9.1/gems/win32-api-1.4.5/ > ext/gem_mak > e.out > > > C:\Windows\system32> > > > ####################################################################################### > > > Thanks! > > Matt > > > > > > > On Feb 9, 1:28 pm, Alan Baird <aba...@bairdsnet.net> wrote: > > See the faq on this ... you need to download rubygems separately (this > > recently changed)...AB > > > > On Feb 9, 2010 11:59 AM, "Nathan Lane" <nathamberl...@gmail.com> wrote: > > > > Sorry that washttp://rubyinstaller.org/ > > > > On Tue, Feb 9, 2010 at 10:55 AM, Nathan Lane <nathamberl...@gmail.com> > > wrote: > > > > > > > > > > > > > I installed Ruby...- Hide quoted text - > > > > - Show quoted text - > > -- > 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<watir-general%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/watir-general > -- Nathan Lane Blog, http://blog.nathandelane.com -- 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