You need to add it to the config file you are using. In my case, staging.rb
$ heroku config RACK_ENV => staging Which was the problem as I was adding it to production.rb :-( so in staging.rb I added: # http://docs.heroku.com/full-text-indexing require 'acts_as_ferret' ActsAsFerret.index_dir = "#{RAILS_ROOT}/tmp/index" and in environment.rb config.gem "ferret" config.gem "acts_as_ferret" and all was well :-) 2009/6/3 Luis Martín Vallejo <[email protected]>: > Perhaps this is an stupid question, but, Is "required acts_as_ferret" added > in the "environment.rb" of the Heroku repository? > > Cheers, > > On Wed, Jun 3, 2009 at 3:28 AM, Shane Mingins <[email protected]> > wrote: >> >> Hi >> >> I just added using ferret and acts_as_ferret to my app using these >> instructions: http://docs.heroku.com/full-text-indexing >> >> App is fine locally. >> >> But on Heroku, app fails to start up with undefined method >> `acts_as_ferret' >> >> Any thoughts on what I need to do? >> >> Cheers >> Shane >> >> -- >> Shane Mingins >> >> > > > > -- > Martín > > > > > -- Shane Mingins --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
