Skip to content

Commit

Permalink
Updating gem numbers in installation snippets, plus removing referenc…
Browse files Browse the repository at this point in the history
…es to GemCutter.
  • Loading branch information
pat committed Apr 17, 2011
1 parent 50c6559 commit 9ee3223
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 16 deletions.
4 changes: 2 additions & 2 deletions riddle/installing_riddle.textile
Expand Up @@ -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.
9 changes: 3 additions & 6 deletions ts/en/installing_thinking_sphinx.textile
Expand Up @@ -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@:
Expand All @@ -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 %}

Expand Down
5 changes: 2 additions & 3 deletions ts/en/rails3.textile
Expand Up @@ -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).
Expand Down
7 changes: 2 additions & 5 deletions ts/fr/installing_thinking_sphinx.textile
Expand Up @@ -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@:
Expand All @@ -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 %}

Expand Down

0 comments on commit 9ee3223

Please sign in to comment.