Upgrade Rails version and bump installer to version 2.1.1

Rails is upgraded to version 3.2.2.