Update Ruby version to 2.1.3 and Rails to 4.1.6