1BUNDLE-PLATFORM(1) BUNDLE-PLATFORM(1)
2
3
4
6 bundle-platform - Displays platform compatibility information
7
9 bundle platform [--ruby]
10
12 platform displays information from your Gemfile, Gemfile.lock, and Ruby
13 VM about your platform.
14
15 For instance, using this Gemfile(5):
16
17
18
19 source "https://rubygems.org"
20
21 ruby "3.1.2"
22
23 gem "rack"
24
25
26
27 If you run bundle platform on Ruby 3.1.2, it displays 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 * arm64-darwin-21
36 * ruby
37 * x64-mingw-ucrt
38 * x86_64-linux
39
40 Your Gemfile specifies a Ruby version requirement:
41 * ruby 3.1.2
42
43 Your current platform satisfies the Ruby version requirement.
44
45
46
47 platform lists all the platforms in your Gemfile.lock as well as the
48 ruby directive if applicable from your Gemfile(5). It also lets you
49 know if the ruby directive requirement has been met. If ruby directive
50 doesn´t match the running Ruby VM, it tells you what part does not.
51
53 --ruby It will display the ruby directive information, so you don´t
54 have to parse it from the Gemfile(5).
55
57 • bundle-lock(1) bundle-lock.1.html
58
59
60
61
62
63
64 February 2023 BUNDLE-PLATFORM(1)