mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add patch level to Ruby version information
Given the recent security related patches to ruby and rails it is more important than ever to know what patch level you are running.
This commit is contained in:
parent
f34b3189dd
commit
5c099a6f06
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue