I'm migrating a Rails 2.3.1 app to 3.0.5 Here's my setup <https://gist.github.com/862447> on OSX 10.6.6.
My issue: When I run rails console or any rake task I see something like this: /Users/george/.rvm/gems/ree-1.8.7-2011.03@bwfa_rails_3/gems/rake-0.8.7/lib/rake.rb:2503:in `const_missing': uninitialized constant ThinkingSphinx::Mutex (NameError) from /Users/george/.rvm/gems/ree-1.8.7-2011.03@bwfa_rails_3/gems/thinking-sphinx-2.0.2/lib/thinking_sphinx.rb:73 from /Users/george/.rvm/gems/ree-1.8.7-2011.03@global/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in `require' from /Users/george/.rvm/gems/ree-1.8.7-2011.03@global/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in `require' from /Users/george/.rvm/gems/ree-1.8.7-2011.03@global/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in `each' from /Users/george/.rvm/gems/ree-1.8.7-2011.03@global/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in `require' from /Users/george/.rvm/gems/ree-1.8.7-2011.03@global/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in `each' from /Users/george/.rvm/gems/ree-1.8.7-2011.03@global/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in `require' from /Users/george/.rvm/gems/ree-1.8.7-2011.03@global/gems/bundler-1.0.10/lib/bundler.rb:120:in `require' from /Users/george/work/bwfa/config/application.rb:7 from /Users/george/.rvm/gems/ree-1.8.7-2011.03@bwfa_rails_3/gems/railties-3.0.5/lib/rails/commands.rb:21:in `require' from /Users/george/.rvm/gems/ree-1.8.7-2011.03@bwfa_rails_3/gems/railties-3.0.5/lib/rails/commands.rb:21 from script/rails:6:in `require' from script/rails:6 If I add require 'thread' to /Users/george/.rvm/gems/ree-1.8.7-2011.03@bwfa_rails_3/gems/thinking-sphinx-2.0.2/lib/thinking_sphinx.rbI no longer get the error and everything works as expected. Any ideas why it's not working without require 'thread'? I get the same error if I use the follow in my Gemfile: gem 'thinking-sphinx', :git => 'git://github.com/freelancing-god/thinking-sphinx.git', :branch => 'rails3', :require => 'thinking_sphinx' Any help would be greatly appreciated. Thanks, /g -- 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.
