Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Add patch level to Ruby version information
  • Loading branch information...
commit 4084b62dae04fbb82e862894856d9a6eca8bea38 2 parents f34b318 + 5c099a6
Carlos Antonio da Silva carlosantoniodasilva authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 railties/lib/rails/info.rb
6 railties/lib/rails/info.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.