Frank Vielma's Blog Programming, science, engineering, and more…
Rails 3.1.0
Posted on {31-Aug-2011} No commentsRecently, the rails 3.1.0 is now a release version.
It is recommendable to use rvm (you need to install rvm) creating a new gemset so, we can isolate the install from the rest of our environments. We need the follow steps:
- Creating a gemset:
rvm --create 1.9.2-p180@rails31
- Installing the last rails version (3.1.0) :
- To generate a new project:
- Adding the following lines to the Gemfile file
- Running bundle:
- Starting the new rails application:
gem install railsrails new project31
gem 'execjs' gem 'therubyracer'
ExecJS. Run JavaScript code from Ruby.
therubyracer. Embed the V8 Javascript Interpreter into Ruby.bundle installrails s
After it, we would see the following lines:
=> Booting WEBrick => Rails 3.1.0 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2011-08-31 09:39:29] INFO WEBrick 1.3.1 [2011-08-31 09:39:29] INFO ruby 1.9.2 (2011-02-18) [i686-linux] [2011-08-31 09:39:29] INFO WEBrick::HTTPServer#start: pid=11130 port=3000
Release notes
Rails 3.1 sourcesLeave a reply
- Creating a gemset:

