On Apr 1, 2007, at 7:31 AM, Jens Kraemer wrote: > On Sat, Mar 31, 2007 at 12:11:41PM -0400, John Joseph Bachir wrote: >> Here is the error I am getting: >> >> jjb-g4-laptop:~/digitalpulp/ffog$ RAILS_ENV=production script/aaf/ >> ferret_start >> ./script/../config/../vendor/rails/railties/lib/commands/runner.rb: >> 45: ./script/../config/../vendor/rails/activerecord/lib/../../ >> activesupport/lib/active_support/dependencies.rb:266:in >> `load_missing_constant': uninitialized constant ActsAsFerret >> (NameError) > > do you have 'require 'acts_as_ferret'' somewhere in your > environment.rb?
That did the trick! (I didn't need to require AAF in the environment before because I was requiring it in the models) > what version of Rails do you use? 1.2.2 > J4i, the AAF_REMOTE environment variable is only used in aaf unit > tests > to determine if the tests should run in local or remote mode, it's not > used elsewhere and therefore won't help, but can't hurt much either ;) > I also added a comment clarifying this to the blog post you mentioned. Great. Care to note this on the wiki as well? :) I was going to but did not feel confident about wording it properly. Thanks, John _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

