I was trying to run rake gems:install
on a rails application that I cloned, and got repeated errors saying:
no such file to load
and then the name of a gem that I had. This apparently can happen when you have gems required before you can get to the section in your configuration file that specifies the different gems that you will be installing. One solution is to manually install the gems until you can do rake gems:install
successfully. This is suboptimal since rake gems:install
won’t work out of the box for others either.
A better solution is to figure out where the problematic require
statements are and remove them. Then the full power of this command can be realized.