Sunday, January 30, 2011

[Rails] Strange rake error with config.cache_classes

when i run rake tasks, i run into a strange problem when running it in
production mode. it loads all of the files in the directory app/
runners/cron. when i run the rake task with config.cache_classes set
to true (as it is set in environment/production.rb) then it seems to
load those files in that directory upon execution of the rake command.
however, those files are not loaded when it is set to false.

i have checked my application, boot, and environment files and i am
not loading that directory.

i came across this error trying to run a thinking_sphinx rake task as
below:

http://groups.google.com/group/thinking-sphinx/browse_thread/thread/b35782f90d7605fa

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate