[~]# gem install rails -v "3.1.3"

Want the version on the server to match my laptop.