By cgmendla
I ran Bundle install as root while setting up a droplet. I think it broke the installation as the message said it would. How can I fix this? I believe it might be with a chown to the rails user but I’m not sure about that.
thanks
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!
Hello,
The information provided is a big vague so it’s hard to say exactly what you need to do to fix it. What exactly did you run? If you accidentally ran something like sudo bundle install gems then this can generally be fixed with sudo bundle install --system.
The second command will place the system gems back in their proper location.
If you instead installed a local bundle intended for your software with root permission, you can just delete the bundle directory in your project directory and run the command again (just not as root) to rebuild and re-install the gems.
With a bit more information on what exactly you did though; there might be more specific information available to provide.
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.