$ bundle platform [--ruby]
Options:
--ruby
: only display ruby related platform information
Gemfile
, Gemfile.lock
, and Ruby VM about your platform. You'll see output like the following:
$ bundle platform 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.
ruby
directive doesn't match the running Ruby VM, it will tell you what part does not.
Your Ruby version is 1.9.3, but your Gemfile specified 1.8.7
--ruby
flag, it will just display the ruby
directive information, so you don't have to parse it from the Gemfile.
$ bundle platform --ruby ruby 1.9.3 (jruby 1.6.7)