diff options
author | Colby Swandale <colby@taplaboratories.com> | 2016-09-18 14:57:40 +1000 |
---|---|---|
committer | Colby Swandale <colby@taplaboratories.com> | 2016-09-18 14:57:40 +1000 |
commit | b1bb9db97dc98f438f7abcc4685e41ad3c5d37dc (patch) | |
tree | ee83f1ce4e63a9dec40756d3e7c01f07e5a7a257 /ISSUES.md | |
parent | c71a980a4a54f8693ed29de46122e5c403cd0826 (diff) | |
download | bundler-b1bb9db97dc98f438f7abcc4685e41ad3c5d37dc.tar.gz |
addressed feedback, described --user-install and slight tweets
Diffstat (limited to 'ISSUES.md')
-rw-r--r-- | ISSUES.md | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -12,14 +12,20 @@ Detailed information about each Bundler command, including help with common prob ### Permission denied when installing bundler -Certain operating systems such as MacOS and Ubuntu have versions of Ruby that requires evelated privileges to install gems. +Certain operating systems such as MacOS and Ubuntu have versions of Ruby that require 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`. +There are multiple ways to solve this issue. You can install bundler with elevated privilges using `sudo` or `su`. sudo gem install bundler + +If you cannot elevated your privileges or do not want to globally install Bundler, you can use the `--user-install` option. + + gem install bundler --user-install + +This will install Bundler into your home directory. Note that you will need to append `~/.gem/ruby/<ruby version>/bin` to your `$PATH` variable to use `bundle`. ### Heroku errors |