From 8ec2be0c40ee0401eb351b2e4cee83b012f55990 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Thu, 5 May 2022 15:45:06 +0000 Subject: Update documentation for switch of default ruby version to 3.1 --- share/man/man5/ruby-module.5 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'share') diff --git a/share/man/man5/ruby-module.5 b/share/man/man5/ruby-module.5 index 3f1adc4f1ec..e84b1664d58 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.35 2022/01/04 19:51:24 jeremy Exp $ +.\" $OpenBSD: ruby-module.5,v 1.36 2022/05/05 15:45:05 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: January 4 2022 $ +.Dd $Mdocdate: May 5 2022 $ .Dt RUBY-MODULE 5 .Os .Sh NAME @@ -195,14 +195,14 @@ 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 3.0 if the version of ruby is not +The ports system defaults to using ruby 3.1 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 ruby30 to use ruby 3.0. 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.7, 3.0, jruby). +for the version of ruby you want to use (2.7, 3.0, 3.1, jruby). .Pp If you do not want the ports system to automatically set up .Ev FLAVOR Ns s @@ -218,7 +218,7 @@ When .Ev MODRUBY_HANDLE_FLAVORS is Yes, the ports system automatically adds the appropriate prefix to the .Ev FULLPKGNAME -(e.g. jruby- for jruby, ruby30- for ruby 3.0). +(e.g. jruby- for jruby, ruby31- for ruby 3.1). Additionally, it adds .Ev GEM_BIN_SUFFIX and -- cgit v1.2.3