upgrade to rails 4, ruby 2