Re: [wtr-general] Firefox 4 and Firewatir

2011-03-22 Thread Angrez Singh
>  If someone started building jssh for FF4 would watir keep using it?
>

Why not? But the question is who will take the responsibility to build it?
Also, JSSH code has to be updated in case there is change in the way
extensions are build in Firefox. There was a change from Firefox 2.x to
Firefox 3.x not sure about latest Firefox 4. If there is a change, we first
need to update JSSH code and then build it.

Thanks,
Angrez

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


[wtr-general] Re: taza no longer works after upgrade to Ruby 1.8.7/ Watir 1.8.0

2011-03-22 Thread hillary
Thanks. I did a fresh install after getting rid of everything. Got the
same issue after wards, it's because the scripts being called have a
require 'activesupport' and needed to be changed to require
'active_support'. So after editing the scripts i was able to generate
pages/flows/etc.

Now i'm running into another issue when i try to run the test. I get
this error:
C:\Users\username\Auto>rake spec:isolation:insight:blah_page --trace
(in C:/Users/username/Auto)
rake aborted!
no such file to load -- spec/rake/spectask
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
`gem_original
_require'
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
`require'
C:/Ruby187/lib/ruby/gems/1.8/gems/taza-0.8.7/lib/taza/tasks.rb:4
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original
_require'
C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require'
C:/Users/hhueter.CORP/Auto/rakefile:3
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in
`load'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in
`raw_load_rakef
ile'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in
`load_rakefile'

C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_excep
tion_handling'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in
`load_rakefile'

C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_excep
tion_handling'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
C:/Ruby187/bin/rake:19:in `load'
C:/Ruby187/bin/rake:19


On Mar 22, 4:51 pm, Tim Koopmans  wrote:
> Just delete the windows folders e.g. c:\ruby and cleanup any references in
> %PATH% environment variable ...
>
> Can't remember if there are also hidden folders for gemfiles in C:\documents
> and settings\
>
> Sometimes that happens on networked PCs (i.e. in work setups)
>
> Cheers,
> Tim
>
> @90kts
>
> On Wed, Mar 23, 2011 at 8:48 AM, hillary  wrote:
> > Okay. What's the best way to delete any references to ruby (either
> > 1.8.6 or 1.8.7)? I'm going through the folder where I've installed
> > everything. But I'm not sure the best way to make sure that everything
> > is gone before trying to do a fresh install.
>
> > On Mar 22, 12:44 pm, Tim Koopmans  wrote:
> > > Looks like you still have another version of Ruby on your system at
> > c:/ruby
>
> > > If you're re-installing or changing versions, make sure you get rid of
> > > references to old binaries in your %PATH% especially for ruby and gem
> > > executables. Also delete any old ruby directories / gemfiles in your
> > > application / document settings path that may have not been cleaned up by
> > > the uninstall.
>
> > > If reinstalling from scratch I recommend using ruby 1.8.7 with the latest
> > > version of Watir.
>
> > > Pity you'r not on osx or linux as I'd definitely recommend RVM when
> > > 'experimenting' with different ruby / gem versions =)
>
> > > Cheers,
> > > Tim
>
> > > @90kts
>
> > > On Wed, Mar 23, 2011 at 5:54 AM, hillary  wrote:
> > > > So i've made a mess of my ruby/watir install. I was using taza with
> > > > Ruby 1.8.6, Watir 1.6.7. and it worked. But then i was having trouble
> > > > installing this configuration on a vm that i was setting up. Long
> > > > story short I installed the latest version of watir/ruby on my local
> > > > machine and its not working when i try to execute the taza commands to
> > > > create a new site/pages/flows.
>
> > > > I'd either like to be able to use the current installation or go back
> > > > to the previous version that i had installed. For both of these
> > > > options I'm running into problems.
>
> > > > With the current configuration (Ruby 1.8.6/Watir 1.8.0), when I run
> > > > this command:
>
> > > > >script\generate site insight
>
> > > > I get the following error:
>
> > > > C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
> > > > `gem_original
> > > > _require': no such file to load -- activesupport (LoadError)
> > > >        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> > > > custom_require.rb:29:in
> > > > `require'
> > > >        from C:/Ruby187/lib/ruby/gems/1.8/gems/taza-0.8.7/generators/
> > > > site/site_g
> > > > enerator.rb:3
> > > >        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> > > > custom_require.rb:29:in
> > > > `gem_original_require'
> > > >        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> > > > custom_require.rb:29:in
> > > > `require'
> > > >        from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
> > > > rubigen/spec.rb
> > > > :16:in `klass'
> > > >        from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
> > > > rubigen/lookup.
> > > > rb:165:in `instance'
> > > >        from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
> > > > rubigen/scripts
> > > > /../script

Re: [wtr-general] Re: taza no longer works after upgrade to Ruby 1.8.7/ Watir 1.8.0

2011-03-22 Thread Tim Koopmans
Just delete the windows folders e.g. c:\ruby and cleanup any references in
%PATH% environment variable ...

Can't remember if there are also hidden folders for gemfiles in C:\documents
and settings\

Sometimes that happens on networked PCs (i.e. in work setups)


Cheers,
Tim

@90kts



On Wed, Mar 23, 2011 at 8:48 AM, hillary  wrote:

> Okay. What's the best way to delete any references to ruby (either
> 1.8.6 or 1.8.7)? I'm going through the folder where I've installed
> everything. But I'm not sure the best way to make sure that everything
> is gone before trying to do a fresh install.
>
>
> On Mar 22, 12:44 pm, Tim Koopmans  wrote:
> > Looks like you still have another version of Ruby on your system at
> c:/ruby
> >
> > If you're re-installing or changing versions, make sure you get rid of
> > references to old binaries in your %PATH% especially for ruby and gem
> > executables. Also delete any old ruby directories / gemfiles in your
> > application / document settings path that may have not been cleaned up by
> > the uninstall.
> >
> > If reinstalling from scratch I recommend using ruby 1.8.7 with the latest
> > version of Watir.
> >
> > Pity you'r not on osx or linux as I'd definitely recommend RVM when
> > 'experimenting' with different ruby / gem versions =)
> >
> > Cheers,
> > Tim
> >
> > @90kts
> >
> > On Wed, Mar 23, 2011 at 5:54 AM, hillary  wrote:
> > > So i've made a mess of my ruby/watir install. I was using taza with
> > > Ruby 1.8.6, Watir 1.6.7. and it worked. But then i was having trouble
> > > installing this configuration on a vm that i was setting up. Long
> > > story short I installed the latest version of watir/ruby on my local
> > > machine and its not working when i try to execute the taza commands to
> > > create a new site/pages/flows.
> >
> > > I'd either like to be able to use the current installation or go back
> > > to the previous version that i had installed. For both of these
> > > options I'm running into problems.
> >
> > > With the current configuration (Ruby 1.8.6/Watir 1.8.0), when I run
> > > this command:
> >
> > > >script\generate site insight
> >
> > > I get the following error:
> >
> > > C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
> > > `gem_original
> > > _require': no such file to load -- activesupport (LoadError)
> > >from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> > > custom_require.rb:29:in
> > > `require'
> > >from C:/Ruby187/lib/ruby/gems/1.8/gems/taza-0.8.7/generators/
> > > site/site_g
> > > enerator.rb:3
> > >from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> > > custom_require.rb:29:in
> > > `gem_original_require'
> > >from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> > > custom_require.rb:29:in
> > > `require'
> > >from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
> > > rubigen/spec.rb
> > > :16:in `klass'
> > >from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
> > > rubigen/lookup.
> > > rb:165:in `instance'
> > >from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
> > > rubigen/scripts
> > > /../scripts.rb:32:in `run'
> > >from script/generate:14
> >
> > > Active support is installed, so I'm not sure what's happening.
> >
> > > I've tried going to back to the previous version of Ruby/Watir but
> > > when i try to install any of the ruby gems I had I get an error
> > > message like this:
> >
> > > Building native extensions.  This could take a
> > > while...
> > > ERROR:  Error installing
> > > rcov:
> > >  ERROR: Failed to build gem native extenstion.
> >
> > > c:/ruby/bin/ruby.exe
> > > 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/
> > > rcov-0.8.1.2.0 for
> > > inspection.
> > > Results logged to c:/ruby/lib/ruby/gems/1.8/gems/rcov-0.8.1.2.0/ext/
> > > rcovrt/gem_make.out
> >
> > > System Information:
> > >   Win7/32-bit
> > > RubyGems Environment:
> > >  - RUBYGEMS VERSION: 1.6.2
> > >  - RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
> > >  - INSTALLATION DIRECTORY: C:/Ruby187/lib/ruby/gems/1.8
> > >  - RUBY EXECUTABLE: C:/Ruby187/bin/ruby.exe
> > >  - EXECUTABLE DIRECTORY: C:/Ruby187/bin
> > >  - RUBYGEMS PLATFORMS:
> > >- ruby
> > >- x86-mingw32
> > >  - GEM PATHS:
> > > - C:/Ruby187/lib/ruby/gems/1.8
> > > - C:/Users/hhueter.CORP/.gem/ruby/1.8
> > >  - GEM CONFIGURATION:
> > > - :update_sources => true
> > > - :verbose => true
> > > - :benchmark => false
> > > - :backtrace => false
> > > - :bulk_threshold => 1000
> > >  - REMOTE SOURCES:
> > > -http://rubygems.org/
> >
> > > Current gems installed:
> > > activesupport (3.0.5)
> > > builder (3.0.0)
> > > commonwatir (1.8.0)
> > > diff-lcs (1.1.2)
> > > firewatir (1.8.0)
> > > hoe (2.9.1)
> > > i18n (0.5.0)
> > > mocha (0.9.12)
> > > nokogiri (1.4

[wtr-general] Re: taza no longer works after upgrade to Ruby 1.8.7/ Watir 1.8.0

2011-03-22 Thread hillary
So I tried uninstalling everything and removing any reference to ruby,
and re-installing 1.8.7. and the rest of the gems. And I'm still
getting the same active support error when I try to generate a site.

On Mar 22, 12:44 pm, Tim Koopmans  wrote:
> Looks like you still have another version of Ruby on your system at c:/ruby
>
> If you're re-installing or changing versions, make sure you get rid of
> references to old binaries in your %PATH% especially for ruby and gem
> executables. Also delete any old ruby directories / gemfiles in your
> application / document settings path that may have not been cleaned up by
> the uninstall.
>
> If reinstalling from scratch I recommend using ruby 1.8.7 with the latest
> version of Watir.
>
> Pity you'r not on osx or linux as I'd definitely recommend RVM when
> 'experimenting' with different ruby / gem versions =)
>
> Cheers,
> Tim
>
> @90kts
>
> On Wed, Mar 23, 2011 at 5:54 AM, hillary  wrote:
> > So i've made a mess of my ruby/watir install. I was using taza with
> > Ruby 1.8.6, Watir 1.6.7. and it worked. But then i was having trouble
> > installing this configuration on a vm that i was setting up. Long
> > story short I installed the latest version of watir/ruby on my local
> > machine and its not working when i try to execute the taza commands to
> > create a new site/pages/flows.
>
> > I'd either like to be able to use the current installation or go back
> > to the previous version that i had installed. For both of these
> > options I'm running into problems.
>
> > With the current configuration (Ruby 1.8.6/Watir 1.8.0), when I run
> > this command:
>
> > >script\generate site insight
>
> > I get the following error:
>
> > C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
> > `gem_original
> > _require': no such file to load -- activesupport (LoadError)
> >        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> > custom_require.rb:29:in
> > `require'
> >        from C:/Ruby187/lib/ruby/gems/1.8/gems/taza-0.8.7/generators/
> > site/site_g
> > enerator.rb:3
> >        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> > custom_require.rb:29:in
> > `gem_original_require'
> >        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> > custom_require.rb:29:in
> > `require'
> >        from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
> > rubigen/spec.rb
> > :16:in `klass'
> >        from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
> > rubigen/lookup.
> > rb:165:in `instance'
> >        from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
> > rubigen/scripts
> > /../scripts.rb:32:in `run'
> >        from script/generate:14
>
> > Active support is installed, so I'm not sure what's happening.
>
> > I've tried going to back to the previous version of Ruby/Watir but
> > when i try to install any of the ruby gems I had I get an error
> > message like this:
>
> > Building native extensions.  This could take a
> > while...
> > ERROR:  Error installing
> > rcov:
> >          ERROR: Failed to build gem native extenstion.
>
> > c:/ruby/bin/ruby.exe
> > 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/
> > rcov-0.8.1.2.0 for
> > inspection.
> > Results logged to c:/ruby/lib/ruby/gems/1.8/gems/rcov-0.8.1.2.0/ext/
> > rcovrt/gem_make.out
>
> > System Information:
> >   Win7/32-bit
> > RubyGems Environment:
> >  - RUBYGEMS VERSION: 1.6.2
> >  - RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
> >  - INSTALLATION DIRECTORY: C:/Ruby187/lib/ruby/gems/1.8
> >  - RUBY EXECUTABLE: C:/Ruby187/bin/ruby.exe
> >  - EXECUTABLE DIRECTORY: C:/Ruby187/bin
> >  - RUBYGEMS PLATFORMS:
> >    - ruby
> >    - x86-mingw32
> >  - GEM PATHS:
> >     - C:/Ruby187/lib/ruby/gems/1.8
> >     - C:/Users/hhueter.CORP/.gem/ruby/1.8
> >  - GEM CONFIGURATION:
> >     - :update_sources => true
> >     - :verbose => true
> >     - :benchmark => false
> >     - :backtrace => false
> >     - :bulk_threshold => 1000
> >  - REMOTE SOURCES:
> >     -http://rubygems.org/
>
> > Current gems installed:
> > activesupport (3.0.5)
> > builder (3.0.0)
> > commonwatir (1.8.0)
> > diff-lcs (1.1.2)
> > firewatir (1.8.0)
> > hoe (2.9.1)
> > i18n (0.5.0)
> > mocha (0.9.12)
> > nokogiri (1.4.4.1 x86-mingw32)
> > rake (0.8.7)
> > rspec (2.5.0)
> > rspec-core (2.5.1)
> > rspec-expectations (2.5.0)
> > rspec-mocks (2.5.0)
> > rubigen (1.5.6)
> > rubygems-update (1.3.6)
> > s4t-utils (1.0.4)
> > taglob (1.1.2)
> > taza (0.8.7)
> > user-choices (1.1.6.1)
> > watir (1.8.0)
> > win32-api (1.4.8 x86-mingw32)
> > win32-process (0.6.5)
> > windows-api (0.4.0)
> > windows-pr (1.1.3)
> > xml-simple (1.0.14)
>
> > --
> > Before posting, please readhttp://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...@goo

[wtr-general] Re: taza no longer works after upgrade to Ruby 1.8.7/ Watir 1.8.0

2011-03-22 Thread hillary
Okay. What's the best way to delete any references to ruby (either
1.8.6 or 1.8.7)? I'm going through the folder where I've installed
everything. But I'm not sure the best way to make sure that everything
is gone before trying to do a fresh install.


On Mar 22, 12:44 pm, Tim Koopmans  wrote:
> Looks like you still have another version of Ruby on your system at c:/ruby
>
> If you're re-installing or changing versions, make sure you get rid of
> references to old binaries in your %PATH% especially for ruby and gem
> executables. Also delete any old ruby directories / gemfiles in your
> application / document settings path that may have not been cleaned up by
> the uninstall.
>
> If reinstalling from scratch I recommend using ruby 1.8.7 with the latest
> version of Watir.
>
> Pity you'r not on osx or linux as I'd definitely recommend RVM when
> 'experimenting' with different ruby / gem versions =)
>
> Cheers,
> Tim
>
> @90kts
>
> On Wed, Mar 23, 2011 at 5:54 AM, hillary  wrote:
> > So i've made a mess of my ruby/watir install. I was using taza with
> > Ruby 1.8.6, Watir 1.6.7. and it worked. But then i was having trouble
> > installing this configuration on a vm that i was setting up. Long
> > story short I installed the latest version of watir/ruby on my local
> > machine and its not working when i try to execute the taza commands to
> > create a new site/pages/flows.
>
> > I'd either like to be able to use the current installation or go back
> > to the previous version that i had installed. For both of these
> > options I'm running into problems.
>
> > With the current configuration (Ruby 1.8.6/Watir 1.8.0), when I run
> > this command:
>
> > >script\generate site insight
>
> > I get the following error:
>
> > C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
> > `gem_original
> > _require': no such file to load -- activesupport (LoadError)
> >        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> > custom_require.rb:29:in
> > `require'
> >        from C:/Ruby187/lib/ruby/gems/1.8/gems/taza-0.8.7/generators/
> > site/site_g
> > enerator.rb:3
> >        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> > custom_require.rb:29:in
> > `gem_original_require'
> >        from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> > custom_require.rb:29:in
> > `require'
> >        from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
> > rubigen/spec.rb
> > :16:in `klass'
> >        from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
> > rubigen/lookup.
> > rb:165:in `instance'
> >        from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
> > rubigen/scripts
> > /../scripts.rb:32:in `run'
> >        from script/generate:14
>
> > Active support is installed, so I'm not sure what's happening.
>
> > I've tried going to back to the previous version of Ruby/Watir but
> > when i try to install any of the ruby gems I had I get an error
> > message like this:
>
> > Building native extensions.  This could take a
> > while...
> > ERROR:  Error installing
> > rcov:
> >          ERROR: Failed to build gem native extenstion.
>
> > c:/ruby/bin/ruby.exe
> > 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/
> > rcov-0.8.1.2.0 for
> > inspection.
> > Results logged to c:/ruby/lib/ruby/gems/1.8/gems/rcov-0.8.1.2.0/ext/
> > rcovrt/gem_make.out
>
> > System Information:
> >   Win7/32-bit
> > RubyGems Environment:
> >  - RUBYGEMS VERSION: 1.6.2
> >  - RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
> >  - INSTALLATION DIRECTORY: C:/Ruby187/lib/ruby/gems/1.8
> >  - RUBY EXECUTABLE: C:/Ruby187/bin/ruby.exe
> >  - EXECUTABLE DIRECTORY: C:/Ruby187/bin
> >  - RUBYGEMS PLATFORMS:
> >    - ruby
> >    - x86-mingw32
> >  - GEM PATHS:
> >     - C:/Ruby187/lib/ruby/gems/1.8
> >     - C:/Users/hhueter.CORP/.gem/ruby/1.8
> >  - GEM CONFIGURATION:
> >     - :update_sources => true
> >     - :verbose => true
> >     - :benchmark => false
> >     - :backtrace => false
> >     - :bulk_threshold => 1000
> >  - REMOTE SOURCES:
> >     -http://rubygems.org/
>
> > Current gems installed:
> > activesupport (3.0.5)
> > builder (3.0.0)
> > commonwatir (1.8.0)
> > diff-lcs (1.1.2)
> > firewatir (1.8.0)
> > hoe (2.9.1)
> > i18n (0.5.0)
> > mocha (0.9.12)
> > nokogiri (1.4.4.1 x86-mingw32)
> > rake (0.8.7)
> > rspec (2.5.0)
> > rspec-core (2.5.1)
> > rspec-expectations (2.5.0)
> > rspec-mocks (2.5.0)
> > rubigen (1.5.6)
> > rubygems-update (1.3.6)
> > s4t-utils (1.0.4)
> > taglob (1.1.2)
> > taza (0.8.7)
> > user-choices (1.1.6.1)
> > watir (1.8.0)
> > win32-api (1.4.8 x86-mingw32)
> > win32-process (0.6.5)
> > windows-api (0.4.0)
> > windows-pr (1.1.3)
> > xml-simple (1.0.14)
>
> > --
> > Before posting, please readhttp://watir.com/support. In short: search
> > before you ask, be nice.
>
> > watir-general@googlegroups.com
> >http://groups.google.com/group/w

Re: [wtr-general] taza no longer works after upgrade to Ruby 1.8.7/ Watir 1.8.0

2011-03-22 Thread Tim Koopmans
Looks like you still have another version of Ruby on your system at c:/ruby

If you're re-installing or changing versions, make sure you get rid of
references to old binaries in your %PATH% especially for ruby and gem
executables. Also delete any old ruby directories / gemfiles in your
application / document settings path that may have not been cleaned up by
the uninstall.

If reinstalling from scratch I recommend using ruby 1.8.7 with the latest
version of Watir.

Pity you'r not on osx or linux as I'd definitely recommend RVM when
'experimenting' with different ruby / gem versions =)


Cheers,
Tim

@90kts



On Wed, Mar 23, 2011 at 5:54 AM, hillary  wrote:

> So i've made a mess of my ruby/watir install. I was using taza with
> Ruby 1.8.6, Watir 1.6.7. and it worked. But then i was having trouble
> installing this configuration on a vm that i was setting up. Long
> story short I installed the latest version of watir/ruby on my local
> machine and its not working when i try to execute the taza commands to
> create a new site/pages/flows.
>
> I'd either like to be able to use the current installation or go back
> to the previous version that i had installed. For both of these
> options I'm running into problems.
>
>
> With the current configuration (Ruby 1.8.6/Watir 1.8.0), when I run
> this command:
>
> >script\generate site insight
>
> I get the following error:
>
> C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
> `gem_original
> _require': no such file to load -- activesupport (LoadError)
>from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:29:in
> `require'
>from C:/Ruby187/lib/ruby/gems/1.8/gems/taza-0.8.7/generators/
> site/site_g
> enerator.rb:3
>from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:29:in
> `gem_original_require'
>from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:29:in
> `require'
>from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
> rubigen/spec.rb
> :16:in `klass'
>from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
> rubigen/lookup.
> rb:165:in `instance'
>from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
> rubigen/scripts
> /../scripts.rb:32:in `run'
>from script/generate:14
>
> Active support is installed, so I'm not sure what's happening.
>
>
> I've tried going to back to the previous version of Ruby/Watir but
> when i try to install any of the ruby gems I had I get an error
> message like this:
>
> Building native extensions.  This could take a
> while...
> ERROR:  Error installing
> rcov:
>  ERROR: Failed to build gem native extenstion.
>
> c:/ruby/bin/ruby.exe
> 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/
> rcov-0.8.1.2.0 for
> inspection.
> Results logged to c:/ruby/lib/ruby/gems/1.8/gems/rcov-0.8.1.2.0/ext/
> rcovrt/gem_make.out
>
>
> System Information:
>   Win7/32-bit
> RubyGems Environment:
>  - RUBYGEMS VERSION: 1.6.2
>  - RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
>  - INSTALLATION DIRECTORY: C:/Ruby187/lib/ruby/gems/1.8
>  - RUBY EXECUTABLE: C:/Ruby187/bin/ruby.exe
>  - EXECUTABLE DIRECTORY: C:/Ruby187/bin
>  - RUBYGEMS PLATFORMS:
>- ruby
>- x86-mingw32
>  - GEM PATHS:
> - C:/Ruby187/lib/ruby/gems/1.8
> - C:/Users/hhueter.CORP/.gem/ruby/1.8
>  - GEM CONFIGURATION:
> - :update_sources => true
> - :verbose => true
> - :benchmark => false
> - :backtrace => false
> - :bulk_threshold => 1000
>  - REMOTE SOURCES:
> - http://rubygems.org/
>
>
> Current gems installed:
> activesupport (3.0.5)
> builder (3.0.0)
> commonwatir (1.8.0)
> diff-lcs (1.1.2)
> firewatir (1.8.0)
> hoe (2.9.1)
> i18n (0.5.0)
> mocha (0.9.12)
> nokogiri (1.4.4.1 x86-mingw32)
> rake (0.8.7)
> rspec (2.5.0)
> rspec-core (2.5.1)
> rspec-expectations (2.5.0)
> rspec-mocks (2.5.0)
> rubigen (1.5.6)
> rubygems-update (1.3.6)
> s4t-utils (1.0.4)
> taglob (1.1.2)
> taza (0.8.7)
> user-choices (1.1.6.1)
> watir (1.8.0)
> win32-api (1.4.8 x86-mingw32)
> win32-process (0.6.5)
> windows-api (0.4.0)
> windows-pr (1.1.3)
> xml-simple (1.0.14)
>
> --
> 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


[wtr-general] taza no longer works after upgrade to Ruby 1.8.7/ Watir 1.8.0

2011-03-22 Thread hillary
So i've made a mess of my ruby/watir install. I was using taza with
Ruby 1.8.6, Watir 1.6.7. and it worked. But then i was having trouble
installing this configuration on a vm that i was setting up. Long
story short I installed the latest version of watir/ruby on my local
machine and its not working when i try to execute the taza commands to
create a new site/pages/flows.

I'd either like to be able to use the current installation or go back
to the previous version that i had installed. For both of these
options I'm running into problems.


With the current configuration (Ruby 1.8.6/Watir 1.8.0), when I run
this command:

>script\generate site insight

I get the following error:

C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
`gem_original
_require': no such file to load -- activesupport (LoadError)
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:29:in
`require'
from C:/Ruby187/lib/ruby/gems/1.8/gems/taza-0.8.7/generators/
site/site_g
enerator.rb:3
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:29:in
`gem_original_require'
from C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:29:in
`require'
from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
rubigen/spec.rb
:16:in `klass'
from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
rubigen/lookup.
rb:165:in `instance'
from C:/Ruby187/lib/ruby/gems/1.8/gems/rubigen-1.5.6/lib/
rubigen/scripts
/../scripts.rb:32:in `run'
from script/generate:14

Active support is installed, so I'm not sure what's happening.


I've tried going to back to the previous version of Ruby/Watir but
when i try to install any of the ruby gems I had I get an error
message like this:

Building native extensions.  This could take a
while...
ERROR:  Error installing
rcov:
  ERROR: Failed to build gem native extenstion.

c:/ruby/bin/ruby.exe
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/
rcov-0.8.1.2.0 for
inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/rcov-0.8.1.2.0/ext/
rcovrt/gem_make.out


System Information:
   Win7/32-bit
RubyGems Environment:
  - RUBYGEMS VERSION: 1.6.2
  - RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
  - INSTALLATION DIRECTORY: C:/Ruby187/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: C:/Ruby187/bin/ruby.exe
  - EXECUTABLE DIRECTORY: C:/Ruby187/bin
  - RUBYGEMS PLATFORMS:
- ruby
- x86-mingw32
  - GEM PATHS:
 - C:/Ruby187/lib/ruby/gems/1.8
 - C:/Users/hhueter.CORP/.gem/ruby/1.8
  - GEM CONFIGURATION:
 - :update_sources => true
 - :verbose => true
 - :benchmark => false
 - :backtrace => false
 - :bulk_threshold => 1000
  - REMOTE SOURCES:
 - http://rubygems.org/


Current gems installed:
activesupport (3.0.5)
builder (3.0.0)
commonwatir (1.8.0)
diff-lcs (1.1.2)
firewatir (1.8.0)
hoe (2.9.1)
i18n (0.5.0)
mocha (0.9.12)
nokogiri (1.4.4.1 x86-mingw32)
rake (0.8.7)
rspec (2.5.0)
rspec-core (2.5.1)
rspec-expectations (2.5.0)
rspec-mocks (2.5.0)
rubigen (1.5.6)
rubygems-update (1.3.6)
s4t-utils (1.0.4)
taglob (1.1.2)
taza (0.8.7)
user-choices (1.1.6.1)
watir (1.8.0)
win32-api (1.4.8 x86-mingw32)
win32-process (0.6.5)
windows-api (0.4.0)
windows-pr (1.1.3)
xml-simple (1.0.14)

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


Re: [wtr-general] Firefox 4 and Firewatir

2011-03-22 Thread Trampus Richmond
If someone started building jssh for FF4 would watir keep using it?

I only ask because I am having some issues getting webdriver to work as well as 
firewatir.

--Trampus


On 3/22/11 8:56 AM, "Željko Filipin"  wrote:

On Tue, Mar 22, 2011 at 4:53 PM, Alastair Montgomery  wrote:
> Has anyone tried running Firewatir with Firefox 4?

Firewatir will not work with Firefox 4 because we do not have jssh for it. I 
think watir-webdriver works with FF 4.

Željko
--
watir.com   - community manager
watir.com/book   - author
viaqa.mobi   conference on software testing - organizer
watirpodcast.com   - host
testingpodcast.com   - audio podcasts on software 
testing. all of them


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


[wtr-general] Re: can't convert NameError into String (TypeError)

2011-03-22 Thread Dave McNulla
You probably have an error in one of your string parameters. My guess is the 
$!

If you don't have a ruby debugger, try a puts statement:
puts testReport
puts  'Test crashed with reason '
puts $!
puts 'FAILED'
puts 'Test crashed!"

you should be able to find out which isn't working.

Good luck,

Dave

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


Re: [wtr-general] Firefox 4 and Firewatir

2011-03-22 Thread Jari Bakken
Den 22. mars 2011 kl. 16:57 skrev "Željko Filipin" <
zeljko.fili...@wa-research.ch>:

On Tue, Mar 22, 2011 at 4:53 PM, Alastair Montgomery 
wrote:
> Has anyone tried running Firewatir with Firefox 4?

Firewatir will not work with Firefox 4 because we do not have jssh for it. I
think watir-webdriver works with FF 4.


Make sure to get the latest release (0.2.1) for full Firefox 4 support.

Željko
--
watir.com - community manager
watir.com/book - author
viaqa.mobi conference on software testing - organizer
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them


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


Re: [wtr-general] Firefox 4 and Firewatir

2011-03-22 Thread Eric Mathiesen
2 words.
Disk Image

On Tue, Mar 22, 2011 at 7:53 AM, Alastair Montgomery  wrote:
> Has anyone tried running Firewatir with Firefox 4?
> I don't want to break my test environment by installing it on my Mac.
>
> --
> 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


Re: [wtr-general] Firefox 4 and Firewatir

2011-03-22 Thread Željko Filipin
On Tue, Mar 22, 2011 at 4:53 PM, Alastair Montgomery 
wrote:
> Has anyone tried running Firewatir with Firefox 4?

Firewatir will not work with Firefox 4 because we do not have jssh for it. I
think watir-webdriver works with FF 4.

Željko
--
watir.com - community manager
watir.com/book - author
viaqa.mobi conference on software testing - organizer
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them

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


[wtr-general] Firefox 4 and Firewatir

2011-03-22 Thread Alastair Montgomery
Has anyone tried running Firewatir with Firefox 4?
I don't want to break my test environment by installing it on my Mac.

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


Re: [wtr-general] Webmetrics is not recording with Watir 1.8.0 on a 64 bit Windows 7

2011-03-22 Thread Željko Filipin
On Tue, Mar 22, 2011 at 2:53 PM, megha  wrote:
> I am not able to record browser click in webmetrics.

We do not support webmetrics recorder. Please contact their support.

Željko
--
watir.com - community manager
watir.com/book - author
viaqa.mobi conference on software testing - organizer
watirpodcast.com - host
testingpodcast.com - audio podcasts on software testing. all of them

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


[wtr-general] Webmetrics is not recording with Watir 1.8.0 on a 64 bit Windows 7

2011-03-22 Thread megha
I have installed Ruby v 1.8.7 and watir v 1.8.0 and upgraded my system
to 64 bit but I observe that I am not able to record browser click in
webmetrics.

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


Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2011-03-22 Thread Željko Filipin
http://stackoverflow.com/questions/5381157/alternatives-to-firewatir-working-with-firefox-4

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


[wtr-general] can't convert NameError into String (TypeError)

2011-03-22 Thread meaculpa
I got error in this pline of code.

r.addtoReport(testReport, 'Test crashed with reason '+$!, 'FAILED',
'Test crashed!')

error was :

rep.rb:40:in `+': can't convert NameError into String (TypeError)
from rep.rb:40:in `rescue in '
from rep.rb:6:in `'

I didnt get any idea. Pllz help

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