News for hackers. Stuff that matters.
Re:How fresh are your gems? by Volpe on Thursday September 29, 2011 @12:08AM (#3051087)
but, just simply leaving the version number blank, "bundle update" will get the latest. correct?
Re:How fresh are your gems? by beilabs on Thursday September 29, 2011 @12:25AM (#3051119)
Yes, that's correct.

Personally I always assign the working version numbers to the Gemfile. What happens in say a years time when you're meant to come back and maintain the site? New versions could mean a drastically broken system and you won't be maintaining a contracts codebase if you are not getting paid to do so.

Re:How fresh are your gems? by Volpe on Thursday September 29, 2011 @12:40AM (#3051157)
The .lock file will have the versions that are currently bundled, so you can always check what versions are bundled there. But I guess that requires a bit of messing around, where as what you do seems quite straight forward.
Re:How fresh are your gems? by beilabs on Thursday September 29, 2011 @12:57AM (#3051184)
Yes but if the repository is cloned with a lock file, when you bundle install, the lock file is then updated with your new gem versions if you have not specified a specific gem version number.
Re:How fresh are your gems? by Volpe on Thursday September 29, 2011 @01:21AM (#3051225)
not to labor the point. But the lock file is in the repo, it doesn't matter if it's updated, there is a version in the repo.