From: jeremy Date: Thu, 2 Sep 2021 15:00:55 +0000 (+0000) Subject: Update for change of default Ruby version to 3.0. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e77af560df322d60d1c61cf9f34bca9caadb0ff6;p=openbsd Update for change of default Ruby version to 3.0. --- diff --git a/share/man/man5/ruby-module.5 b/share/man/man5/ruby-module.5 index 639ed9848a4..dfe79b892cf 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.32 2021/07/25 11:29:42 espie Exp $ +.\" $OpenBSD: ruby-module.5,v 1.33 2021/09/02 15:00:55 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: July 25 2021 $ +.Dd $Mdocdate: September 2 2021 $ .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 2.7 if the version of ruby is not +The ports system defaults to using ruby 3.0 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 ruby26 to use ruby 2.6. +such as ruby27 to use ruby 2.7. 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). +for the version of ruby you want to use (2.6, 2.7, 3.0, jruby). .Pp If you do not want the ports system to automatically set up .Ev FLAVOR Ns s