News for hackers. Stuff that matters.
Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by navyrain on Monday January 28, 2013 @05:27PM (#5131115)
No, bundle update rails will change your Gemfile.lock to the version of rails it upgrades to.
Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by matthuggins on Monday January 28, 2013 @05:34PM (#5131161)
You're right, my mistake. It's just a matter of running `bundle update rails` on your server as well as making the changes in your repository.
Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by jarin on Monday January 28, 2013 @06:38PM (#5131469)
As long as you're using a reasonably good deploy script (capistrano, moonshine, Heroku, etc) you shouldn't have to worry about updating gems on your server.

Most deploy scripts will look at your Gemfile.lock and update if necessary during the deploy (or just run bundle install every time, which won't give you a locked version error if your Gemfile.lock matches your Gemfile).

Re:Vulnerability in JSON Parser in Ruby on Rails 3.0 and 2.3 by matthuggins on Tuesday January 29, 2013 @09:55AM (#5134271)
Definitely, and that's the approach I personally would take. I think jarin was looking for a way to quickly update all his servers without having to redeploy for every app.