Permalink
Browse files

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

Add patch level to Ruby version information
  • Loading branch information...
2 parents f34b318 + 5c099a6 commit 4084b62dae04fbb82e862894856d9a6eca8bea38 @carlosantoniodasilva carlosantoniodasilva committed Jul 3, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 railties/lib/rails/info.rb
@@ -61,8 +61,10 @@ def to_html
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

0 comments on commit 4084b62

Please sign in to comment.