diff --git a/riddle/installing_riddle.textile b/riddle/installing_riddle.textile index e485fbc..c0e7be6 100644 --- a/riddle/installing_riddle.textile +++ b/riddle/installing_riddle.textile @@ -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. diff --git a/ts/en/installing_thinking_sphinx.textile b/ts/en/installing_thinking_sphinx.textile index 1aa3d2b..7be3081 100644 --- a/ts/en/installing_thinking_sphinx.textile +++ b/ts/en/installing_thinking_sphinx.textile @@ -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 %} diff --git a/ts/en/rails3.textile b/ts/en/rails3.textile index 85a8a73..b100b9a 100644 --- a/ts/en/rails3.textile +++ b/ts/en/rails3.textile @@ -14,7 +14,7 @@ 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: @@ -22,8 +22,7 @@ Of course, you can point directly to the Git repository if you so desire - just {% 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). diff --git a/ts/fr/installing_thinking_sphinx.textile b/ts/fr/installing_thinking_sphinx.textile index b3d6be6..47e11bd 100644 --- a/ts/fr/installing_thinking_sphinx.textile +++ b/ts/fr/installing_thinking_sphinx.textile @@ -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 %}