This sounds vaguely familiar, but not sure what the cause is... so my first guess: Can you move the TS tasks line in your Rakefile to the end of the file (ie: after 'tasks/rails'). Let us know if that works or not.
Cheers -- Pat On 07/07/2010, at 4:56 AM, smeed652 wrote: > I have Sphinx and ThiningSphinx installed but when It try to use the > rake commands I get: > > rake -T > (in /Users/xxx/Development/RG/trunk) > rake aborted! > undefined method `map' for nil:NilClass > /Users/xxx/Development/RG/trunk/Rakefile:9 > (See full trace by running task with --trace) > :trunk xxx$ > > When I comment out the "require thinking_sphinx/tasks, the command > works fine. Here is my Rakefile > > # 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 'thinking_sphinx/tasks' > require 'tasks/rails' > > What am I doing wrong? > > Thx > > -- > 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.
