Bundler, oh, I hate thou

March 29, 2012 ruby joke bundler

Another merry joke from my bundler friend. If you ever switch to deployment mode (using the bundle install --deployment command), do not come and cry if bundler starts saying:

Could not find gemname-version in any of the sources
When you have :

gem list
*** LOCAL GEMS ***
gemname (version)

Instead remove the lock:

bundle install --no-deployment

And voilà.

Short post, but this issue made me mad for half an hour.

Contact? Question?

Comments

Commentaires
I am Pierre Baillet, senior software engineer. I write here mostly on computers and code, games, life and server stuff.