By AlbertoV
Hi,
I just created a new droplet, after configure Git, MySQL, this and that, upload my rails repository, doing bundle install, 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 env:
- 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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi. Thank you for your answer.
I am using root all the time, since when I tried to use the rails preconfigured user I can’t really use any command, for example bundle:
$ bundle install
-sh: 1: bundle: not found
I am having this exact problem - been trying to solve for a couple of hours now…
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.