thinking-sphinx
thinking-sphinx copied to clipboard
Is it possible to add environment variables to thinking_sphinx.yml
Is it possible to add environment variables to thinking_sphinx.yml? It looks like it's not possible but wondering if there is another solution for setting host address dynamically.
thinking_sphinx.yml gets parsed as an ERB file, so you can add <%= ENV["SPHINX_HOST"] %> or similar in there :)