Permalink
Browse files

add a --ruby flag to platform

  • Loading branch information...
1 parent 9679f7d commit 4ef6cc26d6840c845739b2d7f2a86eafc347197c @hone hone committed Apr 23, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/bundler/cli.rb
View
@@ -627,6 +627,8 @@ def clean
end
desc "platform", "Displays platform compatibility information"
+ method_option "ruby", :type => :boolean, :default => false, :banner =>
+ "only display ruby related platform information"
def platform
ruby_version = Bundler.definition.ruby_version
ruby_version = "No ruby version specified" unless ruby_version

0 comments on commit 4ef6cc2

Please sign in to comment.