I just converted from plug-in to gem. I un-installed the previous plugin: > script/plugin remove thinking-sphinx
I then checked the vendor/plugin directory and it is gone I think installed the gem > sudo gem install freelancing-god-thinking-sphinx \ --source http://gems.github.com I then edited my environment.rb to include: config.gem 'freelancing-god-thinking-sphinx', :version => '1.2.7', :lib => 'thinking_sphinx', :source => 'http://gems.github.com' I then update my Rakefile with # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require(File.join(File.dirname(__FILE__), 'config', 'boot')) require 'rake' require 'rake/testtask' require 'rake/rdoctask' require 'tasks/rails' require 'thinking_sphinx/tasks' I then check to see the tasks: $ rake -T --trace (in /Users/sconklin/Development/RealGravity) rake aborted! undefined method `map' for nil:NilClass /Library/Ruby/Site/1.8/rubygems.rb:270:in `activate' /Library/Ruby/Site/1.8/rubygems.rb:296:in `activate' /Library/Ruby/Site/1.8/rubygems.rb:295:in `each' /Library/Ruby/Site/1.8/rubygems.rb:295:in `activate' /Library/Ruby/Site/1.8/rubygems/custom_require.rb:35:in `require' /Users/sconklin/Development/RealGravity/vendor/rails/activesupport/lib/ active_support/dependencies.rb:153:in `require' /Users/sconklin/Development/RealGravity/vendor/rails/activesupport/lib/ active_support/dependencies.rb:521:in `new_constants_in' /Users/sconklin/Development/RealGravity/vendor/rails/activesupport/lib/ active_support/dependencies.rb:153:in `require' /Users/sconklin/Development/RealGravity/Rakefile:12 /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `load' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `raw_load_rakefile' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in `load_rakefile' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in `load_rakefile' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19 What am I doing wrong???? Here is my gem list: freelancing-god-thinking-sphinx (1.2.8) gem_plugin (0.2.3) highline (1.5.1, 1.5.0, 1.2.9) hpricot (0.8.1, 0.6) libxml-ruby (1.1.3, 0.9.5, 0.3.8.4) linecache (0.43) mdalessio-dryopteris (0.1.2) mislav-will_paginate (2.3.11) mocha (0.9.7) mongrel (1.1.5, 1.1.4) mysql (2.7) needle (1.3.0) net-scp (1.0.2) net-sftp (2.0.2, 1.1.0) net-ssh (2.0.11, 1.1.2) net-ssh-gateway (1.0.1) nokogiri (1.3.3) optiflag (0.6.5) pauldix-feedzirra (0.0.16) pauldix-sax-machine (0.0.14) rails (2.3.2, 1.2.6) rake (0.8.7, 0.7.3) rcov (0.8.1.2.0) RedCloth (4.2.2, 3.0.4) rest-client (1.0.3, 0.9) ruby-debug (0.10.3) ruby-debug-base (0.10.3) ruby-debug-ide (0.4.6) ruby-openid (2.1.6, 1.1.4) ruby-prof (0.7.3) ruby-yadis (0.3.4) rubygems-update (1.3.5, 1.3.4) rubynode (0.1.5, 0.1.3) rubyzip (0.9.1) sqlite3-ruby (1.2.4, 1.2.1) taf2-curb (0.5.0.0) termios (0.9.4) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
