update rails 4.0.1 and gemfile