summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJeremy Evans <jeremy@cvs.openbsd.org>2020-11-17 03:23:33 +0000
committerJeremy Evans <jeremy@cvs.openbsd.org>2020-11-17 03:23:33 +0000
commit3089ecb80a65b13257bc7064d9c72f82d3a0a8e9 (patch)
tree2fab90a2d9ae89fe11327d7cd9bae7d3a72da80c /share
parent7fe67faab8fecba247c1c8263f0523664f1021fa (diff)
Update ruby-module.5 for change in default Ruby version
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/ruby-module.510
1 files changed, 5 insertions, 5 deletions
diff --git a/share/man/man5/ruby-module.5 b/share/man/man5/ruby-module.5
index fef657ed4c3..9a3c6d4bb31 100644
--- a/share/man/man5/ruby-module.5
+++ b/share/man/man5/ruby-module.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ruby-module.5,v 1.29 2020/10/05 16:36:49 jeremy Exp $
+.\" $OpenBSD: ruby-module.5,v 1.30 2020/11/17 03:23:32 jeremy Exp $
.\"
.\" Copyright (c) 2008 Marc Espie, Jeremy Evans
.\"
@@ -24,7 +24,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 5 2020 $
+.Dd $Mdocdate: November 17 2020 $
.Dt RUBY-MODULE 5
.Os
.Sh NAME
@@ -114,7 +114,7 @@ testrb binaries for the related ruby implementation.
and
.Ev MODRUBY_BIN_RSPEC
are the path to the spec (rspec 1) and
-rspec (rspec 2 and 3) binaries for the related ruby implementation.
+rspec (rspec 3) binaries for the related ruby implementation.
.Pp
.Ev MODRUBY_RUBY_ADJ
is a command that takes filename arguments and replaces
@@ -195,11 +195,11 @@ is necessary so that if a ruby x.y package is being built for the current
port, it depends on the ruby x.y package of the
dependencies.
.Pp
-The ports system defaults to using ruby 2.6 if the version of ruby is not
+The ports system defaults to using ruby 2.7 if the version of ruby is not
specified.
If you want to specify a version for a gem port, use a specific
.Ev FLAVOR ,
-such as ruby27 to use ruby 2.7.
+such as ruby26 to use ruby 2.6.
If you want to specify a version for a non-gem port, set
.Ev MODRUBY_REV
for the version of ruby you want to use (2.6, 2.7, jruby).