Updating rubygems nothing to update codes for updating database in php
Having it built in definitely makes distribution easier as anyone who has ruby installed has rubygems.
But I’ve been using this for more than a year and it works great.
There are a couple of solutions I’ve seen people use to solve this.
Neither of them is that great: would just update that gem.
But no, it also updates the gem’s dependencies—whether they have to be updated or not.
In fact, updating a third party gem can even upgrade you to a new version of Rails behind your back. And it makes sense to update the dependencies if something new is required for the update to work. And now you’re back to the problem I stated at the beginning: even if you intend to update only , you still end up updating a whole boatload of gems.Here’s what the Bundler doc says about bundle update UPDATING A LIST OF GEMS Sometimes, you want to update a single gem in the Gemfile(5), and leave the rest of the gems that you specified locked to the versions in the So when your app breaks or your tests fail, it takes a lot of time to figure out why.For instance, in the scenario above, imagine that nokogiri releases version 1.4.4, and you want to update it without updating Rails and all of its dependencies. Bundler will update nokogiri and any of its dependencies, but leave alone Rails and its dependencies. Want an example of an unexpected side-effect of bundle update? Let’s say you’ve installed the sextant gem into your Rails app so you can see your Rails routes in development mode by navigating to /rails/routes.Isn't that what a package manager is there for, keeping packages up to date? Sorry to say this, but stuff like this reminds me of Windows drawbacks, where every application might have its own update functionality. Edit: cro clarified in his edit, making part of my response irrelevant. I currently having issues with gemcutter and I am running it on my test system. Doesn't it make it harder, because you now should update the ruby package also every time rubygems becomes outdated? The gems are updated by rubygems, ok, this is cumbersome, but ok, works fine with pacman since the directory where the gems are placed is therefore managed by rubygems.