2020-05-08 01:19:04 -04:00
|
|
|
BUNDLE-PLATFORM(1) BUNDLE-PLATFORM(1)
|
2018-11-02 19:07:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2019-04-14 02:01:35 -04:00
|
|
|
NAME
|
|
|
|
bundle-platform - Displays platform compatibility information
|
2018-11-02 19:07:56 -04:00
|
|
|
|
2019-04-14 02:01:35 -04:00
|
|
|
SYNOPSIS
|
|
|
|
bundle platform [--ruby]
|
2018-11-02 19:07:56 -04:00
|
|
|
|
2019-04-14 02:01:35 -04:00
|
|
|
DESCRIPTION
|
|
|
|
platform will display information from your Gemfile, Gemfile.lock, and
|
2018-11-02 19:07:56 -04:00
|
|
|
Ruby VM about your platform.
|
|
|
|
|
|
|
|
For instance, using this Gemfile(5):
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-05-08 01:19:04 -04:00
|
|
|
source "https://rubygems.org"
|
2018-11-02 19:07:56 -04:00
|
|
|
|
2020-05-08 01:19:04 -04:00
|
|
|
ruby "1.9.3"
|
2018-11-02 19:07:56 -04:00
|
|
|
|
2020-05-08 01:19:04 -04:00
|
|
|
gem "rack"
|
2018-11-02 19:07:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2019-04-14 02:01:35 -04:00
|
|
|
If you run bundle platform on Ruby 1.9.3, it will display the following
|
2018-11-02 19:07:56 -04:00
|
|
|
output:
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-05-08 01:19:04 -04:00
|
|
|
Your platform is: x86_64-linux
|
2018-11-02 19:07:56 -04:00
|
|
|
|
2020-05-08 01:19:04 -04:00
|
|
|
Your app has gems that work on these platforms:
|
|
|
|
* ruby
|
2018-11-02 19:07:56 -04:00
|
|
|
|
2020-05-08 01:19:04 -04:00
|
|
|
Your Gemfile specifies a Ruby version requirement:
|
|
|
|
* ruby 1.9.3
|
2018-11-02 19:07:56 -04:00
|
|
|
|
2020-05-08 01:19:04 -04:00
|
|
|
Your current platform satisfies the Ruby version requirement.
|
2018-11-02 19:07:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2019-04-14 02:01:35 -04:00
|
|
|
platform will list all the platforms in your Gemfile.lock as well as
|
|
|
|
the ruby directive if applicable from your Gemfile(5). It will also let
|
2020-05-08 01:19:04 -04:00
|
|
|
you know 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.
|
2018-11-02 19:07:56 -04:00
|
|
|
|
2019-04-14 02:01:35 -04:00
|
|
|
OPTIONS
|
2020-05-08 01:19:04 -04:00
|
|
|
--ruby It will display the ruby directive information, so you don't
|
|
|
|
have to parse it from the Gemfile(5).
|
2018-11-02 19:07:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-06-01 07:11:39 -04:00
|
|
|
June 2020 BUNDLE-PLATFORM(1)
|