1) Googled "uninitialized constant Windows::API::Error (NameError)"
 2) Found this: 
http://groups.google.com/group/watir-general/msg/d885c836f1d728b4

Thanks,
Al Snow
Linkedin: http://www.linkedin.com/in/alsnow
Google Talk: jasnow1
Twitter: jasnow


> Date: Tue, 21 Apr 2009 15:40:39 -0700
> Subject: [wtr-general] uninitialized constant error in windows-pr-0.9.3 gem 
> when trying to  run watir?
> From: [email protected]
> To: [email protected]
> 
> 
> Not sure what's up, if maybe I'm missing a gem or something..
> 
> am in middle of trying to move over to my Vista workstation as my
> primary scripting platform (was running on a server 2003 virtual VM
> running under hyper-v, which worked fine)
> 
> installed ruby
> did gem update --system
> installed watircraft and watir
> 
> now, trying to run a simple ruby single-line script to have watir spit
> out it''s version number, and I'm getting an unitialized constant
> error...    Like I'm missing a gem or something..
> 
> the command I'm trying to run is
> 
> ruby -e "require 'watir'; puts Watir::IE::VERSION"
> 
> This is what the output looks like
> 
> C:\Watir-Projects\MSS>ruby -e "require 'watir'; puts
> Watir::IE::VERSION"
> C:/Ruby/lib/ruby/gems/1.8/gems/windows-pr-0.9.3/lib/windows/thread.rb:
> 59: uninit
> ialized constant Windows::API::Error (NameError)
>         from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `gem_original_require'
>         from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `require'
>         from C:/Ruby/lib/ruby/gems/1.8/gems/win32-process-0.5.9/lib/
> win32/process.rb:3
>         from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `gem_original_require'
>         from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `require'
>         from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-
> process.rb:1
>         from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `gem_original_require'
>         from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `require'
>         from C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> ie.rb:45
>         from -e:1
> 
> anyone seen something like this before?  I'm at a loss for what's
> missing
> > 

_________________________________________________________________
Windows Live™ Hotmail®:…more than just e-mail.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_more_042009
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to