Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
clean up platform docs for versions
Browse files Browse the repository at this point in the history
  • Loading branch information
slothelle committed Jan 22, 2017
1 parent 915806b commit 41f13fd
Showing 1 changed file with 22 additions and 62 deletions.
84 changes: 22 additions & 62 deletions man/gemfile.5.ronn
Expand Up @@ -173,78 +173,38 @@ There are a number of `Gemfile` platforms:

* `ruby`:
C Ruby (MRI) or Rubinius, but `NOT` Windows
* `ruby_18`:
_ruby_ `AND` version 1.8
* `ruby_19`:
_ruby_ `AND` version 1.9
* `ruby_20`:
_ruby_ `AND` version 2.0
* `ruby_21`:
_ruby_ `AND` version 2.1
* `ruby_22`:
_ruby_ `AND` version 2.2
* `ruby_23`:
_ruby_ `AND` version 2.3
* `ruby_24`:
_ruby_ `AND` version 2.4
* `ruby_25`:
_ruby_ `AND` version 2.5
* `mri`:
Same as _ruby_, but not Rubinius
* `mri_18`:
_mri_ `AND` version 1.8
* `mri_19`:
_mri_ `AND` version 1.9
* `mri_20`:
_mri_ `AND` version 2.0
* `mri_21`:
_mri_ `AND` version 2.1
* `mri_22`:
_mri_ `AND` version 2.2
* `mri_23`:
_mri_ `AND` version 2.3
* `mri_24`:
_mri_ `AND` version 2.4
* `mri_25`:
_mri_ `AND` version 2.5
* `mingw`:
Windows 32 bit 'mingw32' platform (aka RubyInstaller)
* `x64_mingw`:
Windows 64 bit 'mingw32' platform (aka RubyInstaller x64)
* `rbx`:
Same as _ruby_, but only Rubinius (not MRI)
* `jruby`:
JRuby
* `mswin`:
Windows

You can restrict further by platform and version for all platforms *except* for
`rbx`, `jruby`, and `mswin`.

To specify a version in addition to a platform, append the version number without
the delimiter to the platform. For example, to specify that a gem should only be
used on platforms with Ruby 2.3, use:

ruby_23

The full list of platforms and supported versions includes:

* `ruby`:
1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5
* `mri`:
1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5
* `mingw`:
Windows 32 bit 'mingw32' platform (aka RubyInstaller)
* `mingw_18`:
_mingw_ `AND` version 1.8
* `mingw_19`:
_mingw_ `AND` version 1.9
* `mingw_20`:
_mingw_ `AND` version 2.0
* `mingw_21`:
_mingw_ `AND` version 2.1
* `mingw_22`:
_mingw_ `AND` version 2.2
* `mingw_23`:
_mingw_ `AND` version 2.3
* `mingw_24`:
_mingw_ `AND` version 2.4
* `mingw_25`:
_mingw_ `AND` version 2.5
1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5
* `x64_mingw`:
Windows 64 bit 'mingw32' platform (aka RubyInstaller x64)
* `x64_mingw_20`:
_x64_mingw_ `AND` version 2.0
* `x64_mingw_21`:
_x64_mingw_ `AND` version 2.1
* `x64_mingw_22`:
_x64_mingw_ `AND` version 2.2
* `x64_mingw_23`:
_x64_mingw_ `AND` version 2.3
* `x64_mingw_24`:
_x64_mingw_ `AND` version 2.4
* `x64_mingw_25`:
_x64_mingw_ `AND` version 2.5
2.0, 2.1, 2.2, 2.3, 2.4, 2.5

As with groups, you can specify one or more platforms:

Expand Down

0 comments on commit 41f13fd

Please sign in to comment.