Upgraded Ruby to 2.1.2 and Rails to 4.1.2