summaryrefslogtreecommitdiff
path: root/lib/bundler/man/gemfile.5.ronn
diff options
context:
space:
mode:
authorNgan Pham <ngan@users.noreply.github.com>2023-08-12 19:16:20 -0700
committergit <svn-admin@ruby-lang.org>2023-08-17 16:07:54 +0000
commit75a4767525407755a33d3b140312c00f2cababd6 (patch)
tree967cd62a92a2d7f1c4b16300ca61bccb80da0ab0 /lib/bundler/man/gemfile.5.ronn
parent30a5b94517699589f6943163cd6b92f2f6c0023f (diff)
[rubygems/rubygems] Add `file` option to `ruby` method in Gemfile
https://github.com/rubygems/rubygems/commit/fb9354b7bf
Diffstat (limited to 'lib/bundler/man/gemfile.5.ronn')
-rw-r--r--lib/bundler/man/gemfile.5.ronn5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bundler/man/gemfile.5.ronn b/lib/bundler/man/gemfile.5.ronn
index 69a26b7685..39cd18d551 100644
--- a/lib/bundler/man/gemfile.5.ronn
+++ b/lib/bundler/man/gemfile.5.ronn
@@ -69,6 +69,11 @@ should be the Ruby version that the engine is compatible with.
ruby "3.1.2"
+If you wish to derive your Ruby version from a version file (ie .ruby-version),
+you can use the `file` option instead.
+
+ ruby file: ".ruby-version"
+
### ENGINE
Each application _may_ specify a Ruby engine. If an engine is specified, an