Re: LoadError (Expected model.rb to define Model)

Matthew Rudy Jacobs
Sat, 07 Jun 2008 19:15:59 -0000

> On 6 Jun 2008, at 16:23, jonathan stegall wrote:
>
>>
>> Hello,
>>
>> I''m having an error that occurs in production (on Dreamhost)
but does
>> not occur in development on my local machine. The situation is that
>> there is a model (Article), and it uses act_as_ferret for search. The
>> error is as follows (where I say {full server path}, that''s
not what
>> the error says, just my note):


Yeah,
I normally go into script/console

and just call the class name "Article"
is usually quite verbose

==================
ruby script/console
Loading development environment.
>> User
MissingSourceFile: no such file to load -- ferret

==================  from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
  from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''

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