Re: [Rails] Re: no such file to load -- ferret
I believe they are different things with similar looking names.
2009/12/24 RubyonRails_newbie <craigwesty79@googlemail.com>
I'll take another loook... thanks.
the host does allow me to upload this stuff. looking at my list of
gems, I already have acts_as_ferret...
*** LOCAL GEMS ***
actionmailer (2.3.3)
actionpack (2.3.3)
activerecord (2.3.3)
activeresource (2.3.3)
activesupport (2.3.3)
acts_as_ferret (0.4.4)
columnize (0.3.1)
fastthread (1.0.7)
ferret (0.11.6)
linecache (0.43)
mysql (2.8.1, 2.7)
rack (1.0.0)
rails (2.3.3)
rake (0.8.7)
ruby-debug (0.10.3)
ruby-debug-base (0.10.3)
ruby-recaptcha (1.0.0)
rubygems-update (1.3.5)
sqlite3-ruby (1.2.5)
will_paginate (2.3.11)
> 2009/12/24 RubyonRails_newbie <craigwest...@googlemail.com>
On 24 Dec, 17:33, Gintautas Šimkus <dihita...@gmail.com> wrote:
> You are missing the ferret gem. Install it if that is possible with your
> hosting. Otherwise you could try install ferret as plugin (in
> vendor/plugins) or just freeze your rails app, I think the command goes
> something like this: rake rails:freeze:gems then upload all that to your
> hosting place and try again :) Merry Christmass ;)
>
> > rubyonrails-talk+unsubscribe@googlegroups.com<rubyonrails-talk%2Bunsubscrib e@googlegroups.com>>
>
>
> > Hello all,
>
> > just to elaborate on this:
>
> > It's complaining about ''/usr/lib/ruby/1.8/rubygems/
> > custom_require.rb''
>
> > Which, after some digging I found:
>
> > def require(path) # :nodoc:
> > gem_original_require path
> > rescue LoadError => load_error
> > if load_error.message =~ /\A[Nn]o such file to load -- #
> > {Regexp.escape path}\z/ and
> > spec = Gem.searcher.find(path) then
> > Gem.activate(spec.name, false, "= #{spec.version}")
> > gem_original_require path
> > else
> > raise load_error
> > end
> > end
>
> > THe error suggests line 31 which is: Gem.activate(spec.name, false,
> > "= #{spec.version}")
>
> > However this is my 1st deployment so not 100% sure what's happening
> > here..
>
> > Any ideas?
>
> > Thanks
>
> > On 24 Dec, 14:09, RubyonRails_newbie <craigwest...@googlemail.com>
> > wrote:
> > > Hi there,
>
> > > I'm just trying to deploy my app to my vhost, and i'm getting an error
> > > on the phusion passenger page:
>
> > > no such file to load -- ferret
>
> > > now everything worked fine in development.
>
> > > DO i need to reinstall the plugin and gem again? if so - would these
> > > be in domain.com/public? or should it be installed at domain.com?
>
> > > ANy advice would be great!
>
> > > THank you.
>
> > --
>
> > 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
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/rubyonrails-talk?hl=en.
--
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.
--
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