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\<username> Sometimes that happens on networked PCs (i.e. in work setups) Cheers, Tim @90kts On Wed, Mar 23, 2011 at 8:48 AM, hillary <weimar1...@gmail.com> 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 <tim.ko...@gmail.com> 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 <weimar1...@gmail.com> 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...@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