mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fc9509bdd2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
57 lines
1.3 KiB
Text
57 lines
1.3 KiB
Text
BUNDLE-PLATFORM(1) BUNDLE-PLATFORM(1)
|
|
|
|
|
|
|
|
1mNAME0m
|
|
1mbundle-platform 22m- Displays platform compatibility information
|
|
|
|
1mSYNOPSIS0m
|
|
1mbundle platform 22m[--ruby]
|
|
|
|
1mDESCRIPTION0m
|
|
1mplatform 22mwill display information from your Gemfile, Gemfile.lock, and
|
|
Ruby VM about your platform.
|
|
|
|
For instance, using this Gemfile(5):
|
|
|
|
|
|
|
|
source "https://rubygems.org"
|
|
|
|
ruby "1.9.3"
|
|
|
|
gem "rack"
|
|
|
|
|
|
|
|
If you run 1mbundle platform 22mon Ruby 1.9.3, it will display the following
|
|
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.
|
|
|
|
|
|
|
|
1mplatform 22mwill list all the platforms in your 1mGemfile.lock 22mas well as
|
|
the 1mruby 22mdirective if applicable from your Gemfile(5). It will also let
|
|
you know if the 1mruby 22mdirective requirement has been met. If 1mruby 22mdirec-
|
|
tive doesn't match the running Ruby VM, it will tell you what part does
|
|
not.
|
|
|
|
1mOPTIONS0m
|
|
1m--ruby 22mIt will display the ruby directive information, so you don't
|
|
have to parse it from the Gemfile(5).
|
|
|
|
|
|
|
|
|
|
November 2018 BUNDLE-PLATFORM(1)
|