... and patched. Opted for my own commit to avoid the white space changes, but you're credited in the README and commit message :)
-- Pat On 12/03/2011, at 12:57 AM, Pat Allan wrote: > Hi George > > Perhaps it's REE that doesn't include thread by default. Either way, TS > really should require it - I've noticed your fork, and will get that patch in > soon. > > Thanks for pointing this out! > > -- > Pat > > On 09/03/2011, at 10:05 AM, George Anderson wrote: > >> I'm migrating a Rails 2.3.1 app to 3.0.5 >> >> Here's my setup 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.rb >> I 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. > > -- > 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.
