-.\" $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
.\"
.\" (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
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
.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