Hi Jon
Are you using TS as a gem? Or a plugin?
Also, what's the full stack trace when the rake tasks fail?
--
Pat
On 31/08/2010, at 2:49 AM, Jon Crawford <[email protected]> wrote:
I'm seeing this same issue with current Rails 2-3-stable
(bac12fa5fc0bb25c7caab47451bffb6ec48c8bf3) and thinking-sphinx 1.3.19.
rake aborted!
undefined method `map' for nil:NilClass
Works if I remove both of these lines...
require 'thinking_sphinx/tasks'
require 'thinking_sphinx/deltas/delayed_delta/tasks'
Jon
On Jul 6, 6:41 pm, Pat Allan <[email protected]> wrote:
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 athttp://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.