I ran
bundle install
and it completed without error, except that at the very last line, it printed:
Your bundle is complete! It was installed into ./linecache
There’s no mention of linecache in the Gemfile. I even tried the extreme measure of deleting my Gemfile.lock and calling bundle install again. Same result.
What’s going on?
Figured it out. I had previously typed:
(that’s another story). bundle will
rememberlinecache and use that as a directory for subsequent bundles. The easiest (albeit heavy handed) fix is to delete the .bundle configuration file from your toplevel Rails project directory:… and let bundle recreate it the next time you run bundle install. Slightly cleaner is to edit
your_project_directory/.bundle/configand delete the line that reads:Hope this saves someone else some head-scratching.