Run Sphinx in Rails using Foreman
Using Foreman, Sphinx, and Thinking Sphinx in a Rails project? Here's how you can run Sphinx from your Procfile:
web: bundle exec puma -p $PORT
search: env NODETACH=true rake ts:rebuild
Written by Robert May
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#