diff options
author | 2016-09-06 15:48:22 +0000 | |
---|---|---|
committer | 2016-09-06 15:48:22 +0000 | |
commit | 0077f851cc85fab727d72df2f256231fc7ca11f3 (patch) | |
tree | d0b5bf979398ff1615f58a3b4f055e805c3c5395 /share/man/man5/ruby-module.5 | |
parent | Link to -lcompiler_rt instead of -lgcc. (diff) | |
download | wireguard-openbsd-0077f851cc85fab727d72df2f256231fc7ca11f3.tar.xz wireguard-openbsd-0077f851cc85fab727d72df2f256231fc7ca11f3.zip |
Update documentation to reflect change in default ruby version
Diffstat (limited to 'share/man/man5/ruby-module.5')
-rw-r--r-- | share/man/man5/ruby-module.5 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/share/man/man5/ruby-module.5 b/share/man/man5/ruby-module.5 index 442467fcd00..9723e6b67f4 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.19 2016/03/22 16:02:02 naddy Exp $ +.\" $OpenBSD: ruby-module.5,v 1.20 2016/09/06 15:48:22 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: March 22 2016 $ +.Dd $Mdocdate: September 6 2016 $ .Dt RUBY-MODULE 5 .Os .Sh NAME @@ -152,7 +152,7 @@ The "ruby gem" should be used for pure ruby gems without C extensions. This adds .Ev PKG_ARCH -= * and adds ruby18, ruby20, ruby21, ruby22, ruby23 and jruby += * and adds ruby18, ruby21, ruby22, ruby23 and jruby .Ev FLAVOR Ns s to the port, so the same port can build packages for multiple versions of ruby. .It @@ -168,7 +168,7 @@ the appropriate libraries and .Ev MODRUBY_WANTLIB to .Ev WANTLIB . -It also adds ruby18, ruby20, ruby21, ruby22, and ruby23 +It also adds ruby18, ruby21, ruby22, and ruby23 .Ev FLAVOR Ns s to the port. If the C extension in the gem requires specific arguments to extconf.rb, set those @@ -189,7 +189,7 @@ should use this format: .Pp .Dl category/ruby-foo,${MODRUBY_FLAVOR} .Pp -Use of a ruby20, ruby21, ruby22, ruby23, or jruby +Use of a ruby21, ruby22, ruby23, or jruby .Ev FLAVOR causes the .Ev FULLPKGNAME @@ -202,14 +202,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.2 if the version of ruby is not +The ports system defaults to using ruby 2.3 if the version of ruby is not specified. If you want to specify a version for a gem/extconf port, use a specific .Ev FLAVOR , such as ruby18 to use ruby 1.8. If you want to specify a version for a non-gem/extconf port, set .Ev MODRUBY_REV -for the version of ruby you want to use (1.8, 2.0, 2.1, 2.2, jruby). +for the version of ruby you want to use (1.8, 2.1, 2.2, 2.3, jruby). .Pp If you do not want the ports system to automatically set up .Ev FLAVOR Ns s @@ -225,7 +225,7 @@ When .Ev MODRUBY_HANDLE_FLAVORS is Yes, the ports system automatically adds the appropriate prefix to the .Ev FULLPKGNAME -(e.g. ruby- for ruby 1.8, ruby22- for ruby 2.2). +(e.g. ruby- for ruby 1.8, ruby23- for ruby 2.3). Additionally, it adds .Ev GEM_BIN_SUFFIX and |