Permalink
Browse files

Updating gem numbers in installation snippets, plus removing referenc…

…es to GemCutter.
  • Loading branch information...
1 parent 50c6559 commit 9ee322360c3c670fa33e7d0cd0300907db75a4d5 @pat pat committed Apr 17, 2011
@@ -5,10 +5,10 @@ title: Installing Riddle
h2. Installing Riddle
-The Riddle gem is hosted on "Gemcutter":http://gemcutter.org, so installation should be a one-step process:
+Riddle is a gem, so installation should be a one-step process:
{% highlight sh %}
-gem install riddle --source http://gemcutter.org
+gem install riddle
{% endhighlight %}
And that's all there is to it.
@@ -11,11 +11,10 @@ There's a few different ways you can get Thinking Sphinx installed into your web
h3. As a Gem
-There's a few steps to using Thinking Sphinx as a gem. Firstly, let's install it from "Gemcutter":http://gemcutter.org/gems/thinking-sphinx:
+There's a few steps to using Thinking Sphinx as a gem. Firstly, let's install it:
{% highlight sh %}
-gem install thinking-sphinx \
- --source http://gemcutter.org
+gem install thinking-sphinx
{% endhighlight %}
If you're using Merb, then you just need to require the library within your @init.rb@:
@@ -28,9 +27,7 @@ For Rails users, you'll need to add the gem to your configuration setup in @envi
{% highlight ruby %}
config.gem(
- 'thinking-sphinx',
- :lib => 'thinking_sphinx',
- :version => '1.3.11'
+ 'thinking-sphinx', :version => '1.4.4'
)
{% endhighlight %}
View
@@ -14,16 +14,15 @@ The 2.x releases of Thinking Sphinx will only support Rails 3 - not Rails 2 or e
In your Gemfile, you'll need to add the following:
{% highlight ruby %}
-gem 'thinking-sphinx', '2.0.0', :require => 'thinking_sphinx'
+gem 'thinking-sphinx', '2.0.3'
{% endhighlight %}
Of course, you can point directly to the Git repository if you so desire - just make sure you're referencing the rails3 branch:
{% highlight ruby %}
gem 'thinking-sphinx',
:git => 'git://github.com/freelancing-god/thinking-sphinx.git',
- :branch => 'rails3',
- :require => 'thinking_sphinx'
+ :branch => 'rails3'
{% endhighlight %}
You do _not_ need to put the extra @require@ statement in your Rakefile - Rails 3 can determine this automatically (well, when Thinking Sphinx tells it to).
@@ -51,8 +51,7 @@ h3. En tant que Gem
Il y a plusieurs étapes pour utiliser Thinking en tant que gem. Premièrement, l'installation à partir de GemCutter:
{% highlight sh %}
-gem install thinking-sphinx \
- --source http://gemcutter.org
+gem install thinking-sphinx
{% endhighlight %}
Si vous utilisez Merb, vous avez juste besoin d'inclure la librairie dans votre @init.rb@:
@@ -65,9 +64,7 @@ Pour les utilisateurs de Rails, vous aurez besoin d'ajouter la gem à votre conf
{% highlight ruby %}
config.gem(
- 'thinking-sphinx',
- :lib => 'thinking_sphinx',
- :version => '1.1.12'
+ 'thinking-sphinx', :version => '1.4.4'
)
{% endhighlight %}

0 comments on commit 9ee3223

Please sign in to comment.