Hi Patrick This is an odd issue - I've not come across it before. I guess the first thing I'd want to double-check is: are you uninstalling thinking-sphinx or thinking_sphinx? Because the former is what should be used.
-- Pat On 08/03/2011, at 9:40 PM, Patrick L. wrote: > Hi everyone, > > I'm currently having an issue with the machine of one of my client's > dev. The developper installed several versions of the thinking_sphinx > gem (1.3.16 and 2.0.2) and want to uninstall the 2.0.2 (the project > he's currently working on is a rails 2.3.9 project). However, when > trying to uninstall the gem, we get the following error: > > sudo gem uninstall thinking_sphinx -v 2.0.2 --debug > Exception `NameError' at /opt/local/lib/ruby/site_ruby/1.8/rubygems/ > command_manager.rb:163 - uninitialized constant > Gem::Commands::UninstallCommand > Exception `Gem::InstallError' at /opt/local/lib/ruby/site_ruby/1.8/ > rubygems/uninstaller.rb:77 - cannot uninstall, check `gem list -d > thinking_sphinx` > ERROR: While executing gem ... (Gem::InstallError) > cannot uninstall, check `gem list -d thinking_sphinx` > /opt/local/lib/ruby/site_ruby/1.8/rubygems/uninstaller.rb:77:in > `uninstall' > /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/ > uninstall_command.rb:78:in `execute' > /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/ > uninstall_command.rb:76:in `each' > /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/ > uninstall_command.rb:76:in `execute' > /opt/local/lib/ruby/site_ruby/1.8/rubygems/command.rb:278:in > `invoke' > /opt/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb: > 133:in `process_args' > /opt/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb: > 103:in `run' > /opt/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:63:in > `run' > /opt/local/bin/gem:21 > > The machine is an iMac with Mac OS 10.6.6, this is the output of the > gem env command: > > RubyGems Environment: > - RUBYGEMS VERSION: 1.6.1 > - RUBY VERSION: 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10] > - INSTALLATION DIRECTORY: /opt/local/lib/ruby/gems/1.8 > - RUBY EXECUTABLE: /opt/local/bin/ruby > - EXECUTABLE DIRECTORY: /opt/local/bin > - RUBYGEMS PLATFORMS: > - ruby > - x86-darwin-10 > - GEM PATHS: > - /opt/local/lib/ruby/gems/1.8 > - /Users/apple/.gem/ruby/1.8 > - GEM CONFIGURATION: > - :update_sources => true > - :verbose => true > - :benchmark => false > - :backtrace => false > - :bulk_threshold => 1000 > - :sources => ["http://gems.rubyforge.org/"] > - REMOTE SOURCES: > - http://gems.rubyforge.org/ > > Anyone has any idea why we can't uninstall? My research didn't give > me any solutions... > > Thanks, > > - Patrick > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
