What's on line 6 of this file: c2p_test_whats_new_dev.rb

On Tuesday, March 27, 2012 11:00:59 AM UTC-7, Shlomit Gazit wrote:
>
> So I moved back now to the new ruby installation 193 with the new watir 
> and it is successfully installed watir.
>
> I am trying to run now watir tests I have, which I used to run with older 
> watir version, and I am getting errors:
> First they were compile error, for 'BREAK', older version was working with 
> break. I commented it out.
> Another error I am getting is:
>
> ruby c2p_test_whats_new_dev.rb
> C:/Ruby193/lib/ruby/gems/1.9.1/gems/test-unit-2.4.8/lib/test/unit/ui/console/testrunner.rb:460:in
>  
> `<module:Console>': uninitialized constant Test::Unit::UI::Console::Diff 
> (NameError)
> from 
> C:/Ruby193/lib/ruby/gems/1.9.1/gems/test-unit-2.4.8/lib/test/unit/ui/console/testrunner.rb:18:in
>  
> `<module:UI>'
>  from 
> C:/Ruby193/lib/ruby/gems/1.9.1/gems/test-unit-2.4.8/lib/test/unit/ui/console/testrunner.rb:17:in
>  
> `<module:Unit>'
> from 
> C:/Ruby193/lib/ruby/gems/1.9.1/gems/test-unit-2.4.8/lib/test/unit/ui/console/testrunner.rb:16:in
>  
> `<module:Test>'
>  from 
> C:/Ruby193/lib/ruby/gems/1.9.1/gems/test-unit-2.4.8/lib/test/unit/ui/console/testrunner.rb:15:in
>  
> `<top (required)>'
> from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in 
> `require'
>  from 
> C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in 
> `rescue in require'
> from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in 
> `require'
>  from 
> C:/Ruby193/lib/ruby/gems/1.9.1/gems/ci_reporter-1.7.0/lib/ci/reporter/test_unit.rb:7:in
>  
> `<top (required)>'
> from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in 
> `require'
>  from 
> C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in 
> `require'
> from 
> C:/Ruby193/lib/ruby/gems/1.9.1/gems/ci_reporter-1.7.0/lib/ci/reporter/rake/test_unit_loader.rb:6:in
>  
> `<top (required)>'
>  from 
> C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in 
> `require'
> from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in 
> `rescue in require'
>  from 
> C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in 
> `require'
> from c2p_test_whats_new_dev.rb:6:in `<main>'
> >Exit code: 1
>
> On Tue, Mar 27, 2012 at 10:49 AM, Oscar Rieken <bis...@gmail.com> wrote:
>
>> reboot 
>>
>> then try gem update --system
>> also that is a different error from before  got to love progress
>>
>>
>>
>>
>> On Tue, Mar 27, 2012 at 1:38 PM, Shlomit Gazit 
>> <shlomitpatr...@gmail.com>wrote:
>>
>>> That's what I did, but then trying to do gem install watir, I got the 
>>> error.
>>>
>>> See below: now I am getting a different error:
>>>
>>> C:\devkit>dk.rb install
>>> [INFO] RubyGems override already in place for c:/Ruby, skipping.
>>> [WARN] DevKit helper library already exists for c:/Ruby, skipping.
>>>
>>> C:\devkit>gem install watir
>>> ERROR:  While executing gem ... (Zlib::BufError)
>>>     buffer error
>>>  
>>> C:\devkit>gem install watir
>>> ERROR:  While executing gem ... (Zlib::BufError)
>>>     buffer error
>>>                                                                   
>>>
>>> On Tue, Mar 27, 2012 at 10:22 AM, Oscar Rieken <bis...@gmail.com> wrote:
>>>
>>>> https://github.com/oneclick/rubyinstaller/wiki/Development-Kit 
>>>>
>>>> you have to install devkit
>>>> in order to do that you have to download it and extract it
>>>> then go into that folder that you extracted devkit to thru the command 
>>>> prompt
>>>> type dk.rb init in the command line
>>>> then type dk.rb install
>>>>
>>>> then you can install the gems
>>>>
>>>>
>>>> On Tue, Mar 27, 2012 at 1:18 PM, Shlomit Gazit <
>>>> shlomitpatr...@gmail.com> wrote:
>>>>
>>>>> After installing devkit, I am still getting an error installing watir:
>>>>> After I failed with the above installation, I downgrade ruby and watir 
>>>>> but still failing with the same error:
>>>>>
>>>>> C:\devkit>gem install watir --no-ri --no-rdoc
>>>>> Temporarily enhancing PATH to include DevKit...
>>>>> 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 ffi.h... no
>>>>> checking for #include <ffi.h>
>>>>> ... no
>>>>> checking for rb_thread_blocking_region()... no
>>>>> checking for ruby_thread_has_gvl_p()... no
>>>>> checking for ruby_native_thread_p()... no
>>>>> checking for rb_thread_call_with_gvl()... no
>>>>> creating extconf.h
>>>>> 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/ffi-1.0.11 for
>>>>>  inspection.
>>>>> Results logged to 
>>>>> C:/Ruby/lib/ruby/gems/1.8/gems/ffi-1.0.11/ext/ffi_c/gem_make.o
>>>>> ut
>>>>>
>>>>> C:\devkit>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>                                                                   
>>>>>
>>>>> On Tue, Mar 27, 2012 at 10:15 AM, Shlomit Gazit <
>>>>> shlomitpatr...@gmail.com> wrote:
>>>>>
>>>>>> I dont remember doing it in the past, is that a new step?
>>>>>>
>>>>>> Shlomit.
>>>>>>
>>>>>>
>>>>>> On Wed, Mar 21, 2012 at 12:30 PM, Željko Filipin <
>>>>>> zeljko.fili...@gmail.com> wrote:
>>>>>>
>>>>>>> Did you install devkit?
>>>>>>>
>>>>>>>
>>>>>>> https://github.com/zeljkofilipin/watirbook/blob/master/installation/windows.md
>>>>>>>  
>>>>>>>
>>>>>>> Željko
>>>>>>> --
>>>>>>> watir.com/book - author
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Mar 21, 2012 at 12:44 PM, Shlomit Gazit <
>>>>>>> shlomitpatr...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Microsoft Windows XP [Version 5.1.2600]
>>>>>>>> (C) Copyright 1985-2001 Microsoft Corp.
>>>>>>>>
>>>>>>>> C:\Documents and Settings\Administrator>ruby -e 'require 
>>>>>>>> "watir";puts Watir::IE:
>>>>>>>> :VERSION'
>>>>>>>> -e:1: warning: toplevel constant VERSION referenced by 
>>>>>>>> Watir::IE::VERSION
>>>>>>>> 1.8.6
>>>>>>>>
>>>>>>>> C:\Documents and Settings\Administrator>gem update watir
>>>>>>>> Updating installed gems
>>>>>>>> Updating commonwatir
>>>>>>>> Successfully installed commonwatir-2.0.4
>>>>>>>> Updating firewatir
>>>>>>>> Successfully installed firewatir-1.9.4
>>>>>>>> Updating 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 ffi.h... no
>>>>>>>> checking for #include <ffi.h>
>>>>>>>> ... no
>>>>>>>> checking for rb_thread_blocking_region()... no
>>>>>>>> checking for ruby_thread_has_gvl_p()... no
>>>>>>>> checking for ruby_native_thread_p()... no
>>>>>>>> checking for rb_thread_call_with_gvl()... no
>>>>>>>> creating extconf.h
>>>>>>>> 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/ffi-1.0.11 for
>>>>>>>>  inspection.
>>>>>>>> Results logged to 
>>>>>>>> C:/Ruby/lib/ruby/gems/1.8/gems/ffi-1.0.11/ext/ffi_c/gem_make.o
>>>>>>>>  ut
>>>>>>>> Gems updated: commonwatir, firewatir
>>>>>>>> Installing ri documentation for commonwatir-2.0.4...
>>>>>>>> Installing ri documentation for firewatir-1.9.4...
>>>>>>>> Installing RDoc documentation for commonwatir-2.0.4...
>>>>>>>> Installing RDoc documentation for firewatir-1.9.4...
>>>>>>>>
>>>>>>>> C:\Documents and Settings\Administrator>ruby -e 'require 
>>>>>>>> "watir";puts Watir::IE:
>>>>>>>> :VERSION'
>>>>>>>> -e:1: no such file to load -- watir/ie (LoadError)
>>>>>>>>
>>>>>>>> C:\Documents and Settings\Administrator>ruby -e 'require 
>>>>>>>> "watir";puts Watir::IE:
>>>>>>>> :VERSION'
>>>>>>>> -e:1: no such file to load -- watir/ie (LoadError)
>>>>>>>>
>>>>>>>> C:\Documents and Settings\Administrator>
>>>>>>>> C:\Documents and Settings\Administrator>gem update --system
>>>>>>>> Updating RubyGems
>>>>>>>> Updating rubygems-update
>>>>>>>> ERROR:  Error installing rubygems-update:
>>>>>>>>         rubygems-update requires Ruby version >= 1.8.7.
>>>>>>>> Updating RubyGems to 1.3.7
>>>>>>>> Installing RubyGems 1.3.7
>>>>>>>> RubyGems 1.3.7 installed
>>>>>>>>
>>>>>>>> === 1.3.7 / 2010-05-13
>>>>>>>>
>>>>>>>> NOTE:
>>>>>>>>
>>>>>>>> http://rubygems.org is now the default source for downloading gems.
>>>>>>>>
>>>>>>>> You may have sources set via ~/.gemrc, so you should replace
>>>>>>>> http://gems.rubyforge.org with http://rubygems.org
>>>>>>>>
>>>>>>>> http://gems.rubyforge.org will continue to work for the forseeable 
>>>>>>>> future.
>>>>>>>>
>>>>>>>> New features:
>>>>>>>>
>>>>>>>> * `gem` commands
>>>>>>>>   * `gem install` and `gem fetch` now report alternate platforms 
>>>>>>>> when a
>>>>>>>>     matching one couldn't be found.
>>>>>>>>   * `gem contents` --prefix is now the default as specified in 
>>>>>>>> --help.  Bug
>>>>>>>>     #27211 by Mamoru Tasaka.
>>>>>>>>   * `gem fetch` can fetch of old versions again.  Bug #27960 by 
>>>>>>>> Eric Hankins.
>>>>>>>>   * `gem query` and friends output now lists platforms.  Bug #27856 
>>>>>>>> by Greg
>>>>>>>>     Hazel.
>>>>>>>>   * `gem server` now allows specification of multiple gem dirs for
>>>>>>>>     documentation.  Bug #27573 by Yuki Sonoda.
>>>>>>>>   * `gem unpack` can unpack gems again.  Bug #27872 by Timothy 
>>>>>>>> Jones.
>>>>>>>>   * `gem unpack` now unpacks remote gems.
>>>>>>>>   * --user-install is no longer the default.  If you really liked 
>>>>>>>> it, see
>>>>>>>>     Gem::ConfigFile to learn how to set it by default.  (This 
>>>>>>>> change was made
>>>>>>>>     in 1.3.6)
>>>>>>>> * RubyGems now has platform support for IronRuby.  Patch #27951 by 
>>>>>>>> Will Green.
>>>>>>>>
>>>>>>>> Bug fixes:
>>>>>>>>
>>>>>>>> * Require rubygems/custom_require if --disable-gem was set.  Bug 
>>>>>>>> #27700 by
>>>>>>>>   Roger Pack.
>>>>>>>> * RubyGems now protects against exceptions being raised by plugins.
>>>>>>>> * rubygems/builder now requires user_interaction.  Ruby Bug #1040 
>>>>>>>> by Phillip
>>>>>>>>   Toland.
>>>>>>>> * Gem::Dependency support #version_requirements= with a warning. 
>>>>>>>>  Fix for old
>>>>>>>>   Rails versions.  Bug #27868 by Wei Jen Lu.
>>>>>>>> * Gem::PackageTask depends on the package dir like the other rake 
>>>>>>>> package
>>>>>>>>   tasks so dependencies can be hooked up correctly.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>
>>>>>>>> RubyGems installed the following executables:
>>>>>>>>         C:/Ruby/bin/gem
>>>>>>>>
>>>>>>>> RubyGems system software updated
>>>>>>>>
>>>>>>>> C:\Documents and Settings\Administrator>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 ffi.h... no
>>>>>>>> checking for #include <ffi.h>
>>>>>>>> ... no
>>>>>>>> checking for rb_thread_blocking_region()... no
>>>>>>>> checking for ruby_thread_has_gvl_p()... no
>>>>>>>> checking for ruby_native_thread_p()... no
>>>>>>>> checking for rb_thread_call_with_gvl()... no
>>>>>>>> creating extconf.h
>>>>>>>> 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/ffi-1.0.11 for
>>>>>>>>  inspection.
>>>>>>>> Results logged to 
>>>>>>>> C:/Ruby/lib/ruby/gems/1.8/gems/ffi-1.0.11/ext/ffi_c/gem_make.o
>>>>>>>> ut
>>>>>>>>
>>>>>>>> C:\Documents and Settings\Administrator>ruby -e 'require 
>>>>>>>> "watir";puts Watir::IE:
>>>>>>>> :VERSION'
>>>>>>>> -e:1: no such file to load -- watir/ie (LoadError)
>>>>>>>>
>>>>>>>> C:\Documents and Settings\Administrator>gem install mongrel --pre
>>>>>>>> Successfully installed gem_plugin-0.2.3
>>>>>>>> Successfully installed mongrel-1.2.0.pre2-x86-mswin32
>>>>>>>> 2 gems installed
>>>>>>>> Installing ri documentation for gem_plugin-0.2.3...
>>>>>>>> Installing ri documentation for mongrel-1.2.0.pre2-x86-mswin32...
>>>>>>>> Installing RDoc documentation for gem_plugin-0.2.3...
>>>>>>>> Installing RDoc documentation for mongrel-1.2.0.pre2-x86-mswin32...
>>>>>>>>
>>>>>>>> C:\Documents and Settings\Administrator>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 ffi.h... no
>>>>>>>> checking for #include <ffi.h>
>>>>>>>> ... no
>>>>>>>> checking for rb_thread_blocking_region()... no
>>>>>>>> checking for ruby_thread_has_gvl_p()... no
>>>>>>>> checking for ruby_native_thread_p()... no
>>>>>>>> checking for rb_thread_call_with_gvl()... no
>>>>>>>> creating extconf.h
>>>>>>>> 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/ffi-1.0.11 for
>>>>>>>>  inspection.
>>>>>>>> Results logged to 
>>>>>>>> C:/Ruby/lib/ruby/gems/1.8/gems/ffi-1.0.11/ext/ffi_c/gem_make.o
>>>>>>>> ut
>>>>>>>>
>>>>>>>> C:\Documents and Settings\Administrator>
>>>>>>>>                                       
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> 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
>>>>>>>>
>>>>>>>
>>>>>>>  -- 
>>>>>>> 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
>>>>>>>
>>>>>>
>>>>>>
>>>>>  -- 
>>>>> 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
>>>>>
>>>>
>>>>  -- 
>>>> 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
>>>>
>>>
>>>  -- 
>>> 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
>>>
>>
>>  -- 
>> 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
>>
>
>

-- 
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