summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColby Swandale <colby@taplaboratories.com>2016-09-15 22:04:29 +1000
committerColby Swandale <colby@taplaboratories.com>2016-09-15 22:04:29 +1000
commit0427f11ba02196a2ddcb7c7db0ec4e036d18e37b (patch)
treeb9ec036359e5991cbb322ecf4ca1b02615ec31bf
parentb3cb9516aaf83cf865c9ed76c52ec4d0d182015f (diff)
downloadbundler-0427f11ba02196a2ddcb7c7db0ec4e036d18e37b.tar.gz
added documentation for gem install bundler permission denied
-rw-r--r--ISSUES.md14
1 files changed, 14 insertions, 0 deletions
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.