Script in lib that uses active records fails with `method_missing': undefined local variable or met

I have written a simple script in the lib directory that accesses an
active record that ‘acts_as_taggable’

I get this error when I run the script.

/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.15.5/lib/
active_record/base.rb:1238:in method_missing': undefined local variable or methodacts_as_taggable’ for Entity:Class (NameError)

For some reason, nothing in vendor/plugins is in the load path.
Adding the specific directories to $: doesn’t help either.

Any suggestions?

did u restart the server?

Yes, I did, just tried again as well.

On Nov 16, 2007 7:25 AM, Thorsten M.
[email protected] wrote:

did u restart the server?

Posted via http://www.ruby-forum.com/.


anand

Photo gallery: http://www.anands.net
Photo blog: http://blog.anands.net
Text blog: http://textblog.anands.net