Fix Sprockets not working with Ruby 2

Updated Rails version dependency in Gemfile so that the projects could
get version of Sprockets that would work correctly in Ruby 2.