summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2019-09-11 22:09:56 +0000
committerBundlerbot <bot@bundler.io>2019-09-11 22:09:56 +0000
commitf7de5df5910d5bea9de22536b7f7f646fed30f6f (patch)
tree4ee599d9952cf83f0f4b3dcac7e41901b81656ae
parent706d514948f6028f89d811d37477c02105584be6 (diff)
parente7786de8b333930fe305e82bf5bdc7b85dc1a3a5 (diff)
downloadbundler-f7de5df5910d5bea9de22536b7f7f646fed30f6f.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>
-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