Update gems and Rails 4.0.5