I have tried it both ways.  My preferred method is as a plugin.

On Sat, Sep 5, 2009 at 5:05 AM, Pat Allan <[email protected]> wrote:

>
> It should work with 2.0.2 - I try to keep TS happy with Rails versions
> 1.2.6 and later.
>
> How are you installing TS - as a gem, or as a plugin?
>
> --
> Pat
>
> On 04/09/2009, at 3:20 PM, mpokress wrote:
>
> >
> > Hi-
> >
> > I am trying to add TS to an older Rails 2.0.2 project.  I have TS
> > working properly in my newer 2.3.2 based projects.
> >
> > Is the newest TS version (pulling from github) compatible with Rails
> > 2.0.2.  The error I get on Linux machine when I try to run rake
> > ts:conf (or any rake task, for that matter) is:
> >
> > no such file to load -- thinking_sphinx/index/builder
> > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > `gem_original_require'
> > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> > `require'
> > /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
> > active_support/dependencies.rb:496:in `require'
> > /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/
> > active_support/dependencies.rb:342:in `new_constants_in'
> >
> > I get a different error on my OSX machine:
> >
> > undefined method `configuration' for Rails:Module
> > $RAILS_ROOT/vendor/plugins/thinking-sphinx/lib/thinking_sphinx/
> > configuration.rb:161:in `load_models'
> >
> > I am not familiar enough with the code to poke around in the plugin.
> >
> > >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to