Could not find rake-10.3.2 in any of the sources (Bundler::GemNotFound)
I just created a new droplet, after configure Git, MySQL, this and that, upload my rails repository, doing
rake db:migrate and restarting Unicorn server, I get into this error:
E, [2014-09-26T11:19:22.895711 #15963] ERROR – : Could not find rake-10.3.2 in any of the sources (Bundler::GemNotFound)
I was looking over the Internet, many of the solutions just doesn’t work. The last one was getting rid of my
.bundle/config file because they said it was overwriting the
BUNDLE_PATH. But after doing that, running bundle, restarting, etc, the problem is still there.
It’s a preconfigured droplet with Ubuntu & Rails. Running
- GEM PATHS: - /usr/local/rvm/gems/ruby-2.0.0-p353 - /usr/local/rvm/gems/ruby-2.0.0-p353@global
Seems like gems aren’t installed where they should, but I have no idea where they are really installed. Tried even with
bundle install --path=/usr/local/rvm/gems/ruby-2.0.0-p353@global with the same luck.
Anyone knows what could I do or why is this happening?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.