Updated ruby version to 2.1.2 and updated gems