Permalink
Browse files

Adding mention of Bundler usage.

  • Loading branch information...
1 parent ad5f622 commit f6875d9f0bb61830d9d7eef89589016bf4e33fb3 @pat pat committed Jan 24, 2010
Showing with 13 additions and 0 deletions.
  1. +13 −0 ts/en/common_issues.textile
@@ -18,6 +18,7 @@ Depending on how you have Sphinx setup, or what database you're using, you might
* "Vendored Delayed Job, AfterCommit and Riddle":#vendored
* "Filtering on String Attributes":#string_filters
* "Models outside of @app/models@":#external_models
+* "Using Thinking Sphinx with Bundler":#bundler
<h3 id="weights">Viewing Result Weights</h3>
@@ -164,3 +165,15 @@ ThinkingSphinx::Configuration.instance.
{% endhighlight %}
By default, Thinking Sphinx will load all models in @app/models@ and @vendor/plugins/*/app/models@.
+
+<h3 id="bundler">Using Thinking Sphinx with Bundler</h3>
+
+If you're using Thinking Sphinx with the gem manager Bundler, you will need to set the @:require_as@ option to thinking_sphinx.
+
+{% highlight ruby %}
+gem 'thinking-sphinx',
+ :version => '1.3.14',
+ :require_as => 'thinking_sphinx'
+{% endhighlight %}
+
+If this isn't done, it can introduce issues with gem loading order and script/console.

0 comments on commit f6875d9

Please sign in to comment.