Bundler, oh, I hate thou

Tags: backup

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.