Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

83 lines (54 sloc) 2.2 KB is a french web site speaking of Linux and Free Software.

This git repository is the rails application that run on


The following instructions will help you to install the Rails part of on a debian box.

Note: I use Ruby 1.9.2 with RVM, even if it's not packaged for debian, but these explanations are for Ruby 1.8. The two versions work, so you are free to choose your camp.

1) First install the debian packages:

# aptitude install ruby1.8 ruby1.8-dev irb1.8 libopenssl-ruby1.8
# aptitude install mysql-server mysql-client libmysql++-dev
# aptitude install build-essential libxslt1-dev libxml2-dev
# aptitude install aspell libaspell-dev aspell-fr

2) Install rubygems

The rubygems package for debian lenny is too old. You can install it from sources, by following the instructions of

On later debians, just do:

# aptitude install rubygems

3) Configure the database:

# mysql -p -u root
<enter your root password for mysql>
> CREATE DATABASE linuxfr_rails;
> GRANT ALL PRIVILEGES ON linuxfr_rails.* TO "linuxfr_rails"@"localhost";

4) Install and start redis:

$ wget ""
$ tar xvzf redis-2.0.4.tar.gz
$ cd redis-2.0.4
$ make
$ ./redis-server redis.conf

5) Clone the repository, configure and install gems:

$ git clone git://
$ cd
$ cp config/database.yml{.sample,}
$ cp config/secret.yml{.sample,}
$ gem install bundler rake
$ bundle install
$ rake db:setup

6) Let's run it:

$ bundle exec rails server thin
$ firefox

See also

If you want the full stack for running, you should also look at:


The code is licensed as GNU AGPLv3. See the LICENSE file for the full license.

Copyright (c) 2010 Bruno Michel

Jump to Line
Something went wrong with that request. Please try again.