Merge pull request #11267 from TylerBrock/add-patch-level-to-info

Add patch level to Ruby version information
This commit is contained in:
Carlos Antonio da Silva 2013-07-03 07:24:47 -07:00
commit 4084b62dae
1 changed files with 4 additions and 2 deletions

View File

@ -61,8 +61,10 @@ module Rails
end
end
# The Ruby version and platform, e.g. "1.8.2 (powerpc-darwin8.2.0)".
property 'Ruby version', "#{RUBY_VERSION} (#{RUBY_PLATFORM})"
# The Ruby version and platform, e.g. "2.0.0p247 (x86_64-darwin12.4.0)".
property 'Ruby version' do
"#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL} (#{RUBY_PLATFORM})"
end
# The RubyGems version, if it's installed.
property 'RubyGems version' do