[rubygems/rubygems] Update bundle-platform(1) man

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>

https://github.com/rubygems/rubygems/commit/1c3736f5af
This commit is contained in:
Takuya Noguchi 2022-07-31 11:11:46 +00:00 коммит произвёл git
Родитель 118368c1dd
Коммит b0e6d07ce4
2 изменённых файлов: 29 добавлений и 12 удалений

Просмотреть файл

@ -10,7 +10,7 @@
\fBbundle platform\fR [\-\-ruby] \fBbundle platform\fR [\-\-ruby]
. .
.SH "DESCRIPTION" .SH "DESCRIPTION"
\fBplatform\fR will display information from your Gemfile, Gemfile\.lock, and Ruby VM about your platform\. \fBplatform\fR displays information from your Gemfile, Gemfile\.lock, and Ruby VM about your platform\.
. .
.P .P
For instance, using this Gemfile(5): For instance, using this Gemfile(5):
@ -21,7 +21,7 @@ For instance, using this Gemfile(5):
source "https://rubygems\.org" source "https://rubygems\.org"
ruby "1\.9\.3" ruby "3\.1\.2"
gem "rack" gem "rack"
. .
@ -30,7 +30,7 @@ gem "rack"
.IP "" 0 .IP "" 0
. .
.P .P
If you run \fBbundle platform\fR on Ruby 1\.9\.3, it will display the following output: If you run \fBbundle platform\fR on Ruby 3\.1\.2, it displays the following output:
. .
.IP "" 4 .IP "" 4
. .
@ -39,10 +39,13 @@ If you run \fBbundle platform\fR on Ruby 1\.9\.3, it will display the following
Your platform is: x86_64\-linux Your platform is: x86_64\-linux
Your app has gems that work on these platforms: Your app has gems that work on these platforms:
* arm64\-darwin\-21
* ruby * ruby
* x64\-mingw\-ucrt
* x86_64\-linux
Your Gemfile specifies a Ruby version requirement: Your Gemfile specifies a Ruby version requirement:
* ruby 1\.9\.3 * ruby 3\.1\.2
Your current platform satisfies the Ruby version requirement\. Your current platform satisfies the Ruby version requirement\.
. .
@ -51,11 +54,18 @@ Your current platform satisfies the Ruby version requirement\.
.IP "" 0 .IP "" 0
. .
.P .P
\fBplatform\fR will list all the platforms in your \fBGemfile\.lock\fR as well as the \fBruby\fR directive if applicable from your Gemfile(5)\. It will also let you know if the \fBruby\fR directive requirement has been met\. If \fBruby\fR directive doesn\'t match the running Ruby VM, it will tell you what part does not\. \fBplatform\fR lists all the platforms in your \fBGemfile\.lock\fR as well as the \fBruby\fR directive if applicable from your Gemfile(5)\. It also lets you know if the \fBruby\fR directive requirement has been met\. If \fBruby\fR directive doesn\'t match the running Ruby VM, it tells you what part does not\.
. .
.SH "OPTIONS" .SH "OPTIONS"
. .
.TP .TP
\fB\-\-ruby\fR \fB\-\-ruby\fR
It will display the ruby directive information, so you don\'t have to parse it from the Gemfile(5)\. It will display the ruby directive information, so you don\'t have to parse it from the Gemfile(5)\.
.
.SH "SEE ALSO"
.
.IP "\(bu" 4
bundle\-lock(1) \fIbundle\-lock\.1\.ronn\fR
.
.IP "" 0

Просмотреть файл

@ -7,36 +7,43 @@ bundle-platform(1) -- Displays platform compatibility information
## DESCRIPTION ## DESCRIPTION
`platform` will display information from your Gemfile, Gemfile.lock, and Ruby `platform` displays information from your Gemfile, Gemfile.lock, and Ruby
VM about your platform. VM about your platform.
For instance, using this Gemfile(5): For instance, using this Gemfile(5):
source "https://rubygems.org" source "https://rubygems.org"
ruby "1.9.3" ruby "3.1.2"
gem "rack" gem "rack"
If you run `bundle platform` on Ruby 1.9.3, it will display the following output: If you run `bundle platform` on Ruby 3.1.2, it displays the following output:
Your platform is: x86_64-linux Your platform is: x86_64-linux
Your app has gems that work on these platforms: Your app has gems that work on these platforms:
* arm64-darwin-21
* ruby * ruby
* x64-mingw-ucrt
* x86_64-linux
Your Gemfile specifies a Ruby version requirement: Your Gemfile specifies a Ruby version requirement:
* ruby 1.9.3 * ruby 3.1.2
Your current platform satisfies the Ruby version requirement. Your current platform satisfies the Ruby version requirement.
`platform` will list all the platforms in your `Gemfile.lock` as well as the `platform` lists all the platforms in your `Gemfile.lock` as well as the
`ruby` directive if applicable from your Gemfile(5). It will also let you know `ruby` directive if applicable from your Gemfile(5). It also lets you know
if the `ruby` directive requirement has been met. If `ruby` directive doesn't if the `ruby` directive requirement has been met. If `ruby` directive doesn't
match the running Ruby VM, it will tell you what part does not. match the running Ruby VM, it tells you what part does not.
## OPTIONS ## OPTIONS
* `--ruby`: * `--ruby`:
It will display the ruby directive information, so you don't have to It will display the ruby directive information, so you don't have to
parse it from the Gemfile(5). parse it from the Gemfile(5).
## SEE ALSO
* [bundle-lock(1)](bundle-lock.1.ronn)