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

Javi Jimenez
Tue, 24 Jun 2008 20:01:36 -0000

Hello,

I am having the same problem with acts_as_ferret, did you find a
solution?

Thanks,

Javi


Matthew Rudy Jacobs wrote:
>
>> 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/.