From 0427f11ba02196a2ddcb7c7db0ec4e036d18e37b Mon Sep 17 00:00:00 2001 From: Colby Swandale Date: Thu, 15 Sep 2016 22:04:29 +1000 Subject: added documentation for gem install bundler permission denied --- ISSUES.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ISSUES.md b/ISSUES.md index e0bc56cafc..b1201f588b 100644 --- a/ISSUES.md +++ b/ISSUES.md @@ -10,6 +10,20 @@ Detailed information about each Bundler command, including help with common prob ## Troubleshooting +### Permission denied when installing bundler +Certain operating systems such as MacOS and Ubuntu have versions of Ruby that requires evelated privileges to install gems. + +``` +ERROR: While executing gem ... (Gem::FilePermissionError) + You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory. +``` + +This is typically solved by prepending the command with `sudo`. + +``` +sudo gem install bundler +``` + ### Heroku errors Please open a ticket with [Heroku](https://www.heroku.com) if you're having trouble deploying. They have a professional support team who can help you resolve Heroku issues far better than the Bundler team can. If the problem that you are having turns out to be a bug in Bundler itself, [Heroku support](https://www.heroku.com/support) can get the exact details to us. -- cgit v1.2.1