$ curl -L https://get.rvm.io | bash -s stable --ruby
$ curl -L https://get.rvm.io | bash -s stable --rails
$ echo "~/.rvm/bin/rvm cyp@monapplication" > .rvmrc
$ rvm install ruby-1.9.3
$ rvm use 1.9.3
$ ruby -v
ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]
Screencast intéressant pour apprendre à utiliser rvm
http://screencasts.org/episodes/how-to-use-rvm
$ gem install rails
$ rails -v
Rails 3.2.8
$ ruby -v
ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]
$ rails new monapplication
$ bundle install
$ rake db:create
$ rails generate controller Article
$ rails generate model Article title:string body:text
$ rake db:migrate
$ rails server
$ gem install will-paginate