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 From fdbc4b010499b922f34d598846e8a3656cd3048b Mon Sep 17 00:00:00 2001 From: Colby Swandale Date: Thu, 15 Sep 2016 22:14:13 +1000 Subject: link installation issues in README to ISSUES --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c467673067..6cf53a92bf 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ echo 'gem "rspec"' >> Gemfile bundle install bundle exec rspec ``` +For help with installation issues, see [ISSUES](https://github.com/bundler/bundler/blob/master/ISSUES.md) See [bundler.io](http://bundler.io) for the full documentation. -- cgit v1.2.1 From c71a980a4a54f8693ed29de46122e5c403cd0826 Mon Sep 17 00:00:00 2001 From: Colby Swandale Date: Fri, 16 Sep 2016 00:10:33 +1000 Subject: fixed formatting from previous commits --- ISSUES.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/ISSUES.md b/ISSUES.md index b1201f588b..69446bab8f 100644 --- a/ISSUES.md +++ b/ISSUES.md @@ -11,18 +11,15 @@ 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. -``` + 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 -``` + sudo gem install bundler ### Heroku errors -- cgit v1.2.1 From b1bb9db97dc98f438f7abcc4685e41ad3c5d37dc Mon Sep 17 00:00:00 2001 From: Colby Swandale Date: Sun, 18 Sep 2016 14:57:40 +1000 Subject: addressed feedback, described --user-install and slight tweets --- ISSUES.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ISSUES.md b/ISSUES.md index 69446bab8f..32ef77b6e1 100644 --- a/ISSUES.md +++ b/ISSUES.md @@ -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//bin` to your `$PATH` variable to use `bundle`. ### Heroku errors -- cgit v1.2.1 From c34b306c4c1922b8a1846c1b010a98846e9bf09e Mon Sep 17 00:00:00 2001 From: Colby Swandale Date: Sun, 18 Sep 2016 15:00:18 +1000 Subject: document formatting feedback [skip ci] --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6cf53a92bf..a3a9acbf48 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ echo 'gem "rspec"' >> Gemfile bundle install bundle exec rspec ``` + For help with installation issues, see [ISSUES](https://github.com/bundler/bundler/blob/master/ISSUES.md) See [bundler.io](http://bundler.io) for the full documentation. -- cgit v1.2.1 From 209af4040d6fe3b9d94d9b4084cdef785f7a372b Mon Sep 17 00:00:00 2001 From: Colby Swandale Date: Tue, 20 Sep 2016 20:40:43 +1000 Subject: fix breaking document formatting spcs --- ISSUES.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ISSUES.md b/ISSUES.md index 32ef77b6e1..a86dba20a4 100644 --- a/ISSUES.md +++ b/ISSUES.md @@ -14,17 +14,17 @@ Detailed information about each Bundler command, including help with common prob 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. + ERROR: While executing gem ... (Gem::FilePermissionError) + You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory. There are multiple ways to solve this issue. You can install bundler with elevated privilges using `sudo` or `su`. - sudo gem install bundler - + 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 - + gem install bundler --user-install + This will install Bundler into your home directory. Note that you will need to append `~/.gem/ruby//bin` to your `$PATH` variable to use `bundle`. ### Heroku errors -- cgit v1.2.1 From b5c825905ea91b086f8aa91a02c08cd0e165869c Mon Sep 17 00:00:00 2001 From: Colby Swandale Date: Wed, 21 Sep 2016 21:50:04 +1000 Subject: fixing document format --- ISSUES.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ISSUES.md b/ISSUES.md index a86dba20a4..b7d18ea314 100644 --- a/ISSUES.md +++ b/ISSUES.md @@ -19,11 +19,11 @@ Certain operating systems such as MacOS and Ubuntu have versions of Ruby that re There are multiple ways to solve this issue. You can install bundler with elevated privilges using `sudo` or `su`. - sudo gem install bundler + 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 + gem install bundler --user-install This will install Bundler into your home directory. Note that you will need to append `~/.gem/ruby//bin` to your `$PATH` variable to use `bundle`. -- cgit v1.2.1