use ruby 2.1.2 and rails 4.1.1.