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:

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.