1BUNDLE-PLATFORM(1) BUNDLE-PLATFORM(1)
2
3
4
6 bundle-platform - Displays platform compatibility information
7
9 bundle platform [--ruby]
10
12 platform will display information from your Gemfile, Gemfile.lock, and
13 Ruby VM about your platform.
14
15 For instance, using this Gemfile(5):
16
17
18
19 source "https://rubygems.org"
20
21 ruby "1.9.3"
22
23 gem "rack"
24
25
26
27 If you run bundle platform on Ruby 1.9.3, it will display the following
28 output:
29
30
31
32 Your platform is: x86_64-linux
33
34 Your app has gems that work on these platforms:
35 * ruby
36
37 Your Gemfile specifies a Ruby version requirement:
38 * ruby 1.9.3
39
40 Your current platform satisfies the Ruby version requirement.
41
42
43
44 platform will list all the platforms in your Gemfile.lock as well as
45 the ruby directive if applicable from your Gemfile(5). It will also let
46 you know if the ruby directive requirement has been met. If ruby direc‐
47 tive doesn´t match the running Ruby VM, it will tell you what part does
48 not.
49
51 --ruby It will display the ruby directive information, so you don´t
52 have to parse it from the Gemfile(5).
53
54
55
56
57 January 2020 BUNDLE-PLATFORM(1)