upgrade to rails 4 in gemfile