summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2019-09-11 22:09:56 +0000
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-09-15 09:42:47 +0200
commite61d875bc9b5cad3084dfc634b2aa5dcec09f92e (patch)
tree37437ca93c889dc382c6be0338a2af01fbb0c142
parentacbcc073b1856c8912ffb43c93a2b97ad01edb12 (diff)
downloadbundler-e61d875bc9b5cad3084dfc634b2aa5dcec09f92e.tar.gz
Merge #7353
7353: require `rubygems`, not `ubygems` in example r=hsbt a=crazymykl The latter does not work on Ruby 2.6.3. Thanks so much for the contribution! To make reviewing this PR a bit easier, please fill out answers to the following questions. ### What was the end-user problem that led to this PR? The problem was a broken example in the docs. ### What was your diagnosis of the problem? Ibid. ### What is your fix for the problem, implemented in this PR? My fix was to write what was likely intended. ### Why did you choose this fix out of the possible options? I chose this fix because the solution space is pretty small. Co-authored-by: Mike MacDonald <crazymykl@gmail.com> (cherry picked from commit f7de5df5910d5bea9de22536b7f7f646fed30f6f)
-rw-r--r--man/bundle-exec.12
-rw-r--r--man/bundle-exec.1.txt2
-rw-r--r--man/bundle-exec.ronn2
3 files changed, 3 insertions, 3 deletions
diff --git a/man/bundle-exec.1 b/man/bundle-exec.1
index 047b5f3c12..8d6b2fb085 100644
--- a/man/bundle-exec.1
+++ b/man/bundle-exec.1
@@ -155,7 +155,7 @@ You can find a list of all the gems containing gem plugins by running
.
.nf
-ruby \-rubygems \-e "puts Gem\.find_files(\'rubygems_plugin\.rb\')"
+ruby \-rrubygems \-e "puts Gem\.find_files(\'rubygems_plugin\.rb\')"
.
.fi
.
diff --git a/man/bundle-exec.1.txt b/man/bundle-exec.1.txt
index 1e9ffba98a..c15b321265 100644
--- a/man/bundle-exec.1.txt
+++ b/man/bundle-exec.1.txt
@@ -165,7 +165,7 @@ RUBYGEMS PLUGINS
- ruby -rubygems -e "puts Gem.find_files('rubygems_plugin.rb')"
+ ruby -rrubygems -e "puts Gem.find_files('rubygems_plugin.rb')"
diff --git a/man/bundle-exec.ronn b/man/bundle-exec.ronn
index aa680f4c5d..dec3c7cb82 100644
--- a/man/bundle-exec.ronn
+++ b/man/bundle-exec.ronn
@@ -145,7 +145,7 @@ their plugins.
You can find a list of all the gems containing gem plugins
by running
- ruby -rubygems -e "puts Gem.find_files('rubygems_plugin.rb')"
+ ruby -rrubygems -e "puts Gem.find_files('rubygems_plugin.rb')"
At the very least, you should remove all but the newest
version of each gem plugin, and also remove all gem plugins