Skip to content

Instantly share code, notes, and snippets.

@adamwiggins
Created January 19, 2009 03:53
Show Gist options
  • Save adamwiggins/48866 to your computer and use it in GitHub Desktop.
Save adamwiggins/48866 to your computer and use it in GitHub Desktop.
# RAILS_ROOT is read-only on Heroku. Write to tmp dir, which is read/write.
require 'acts_as_ferret'
ActsAsFerret.index_dir = "#{RAILS_ROOT}/tmp/index"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment