2018-11-02 19:07:56 -04:00
|
|
|
BUNDLE-PLATFORM(1) BUNDLE-PLATFORM(1)
|
|
|
|
|
|
|
|
|
|
|
|
|
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):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
source "https://rubygems.org"
|
|
|
|
|
|
|
|
ruby "1.9.3"
|
|
|
|
|
|
|
|
gem "rack"
|
|
|
|
|
|
|
|
|
|
|
|
|
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:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Your platform is: x86_64-linux
|
|
|
|
|
|
|
|
Your app has gems that work on these platforms:
|
|
|
|
* ruby
|
|
|
|
|
|
|
|
Your Gemfile specifies a Ruby version requirement:
|
|
|
|
* ruby 1.9.3
|
|
|
|
|
|
|
|
Your current platform satisfies the Ruby version requirement.
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
you know if the ruby directive requirement has been met. If ruby direc-
|
2018-11-02 19:07:56 -04:00
|
|
|
tive doesn't match the running Ruby VM, it will tell you what part does
|
|
|
|
not.
|
|
|
|
|
2019-04-14 02:01:35 -04:00
|
|
|
OPTIONS
|
|
|
|
--ruby It will display the ruby directive information, so you don't
|
2018-11-02 19:07:56 -04:00
|
|
|
have to parse it from the Gemfile(5).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-10 11:26:55 -04:00
|
|
|
August 2019 BUNDLE-PLATFORM(1)
|