Skip to content
Browse files

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.
  • Loading branch information...
1 parent f34b318 commit 5c099a6f06abe1ab75844c44e9716b8f8d7ecceb @TylerBrock TylerBrock committed Jul 3, 2013
Showing with 4 additions and 2 deletions.
  1. +4 −2 railties/lib/rails/info.rb
6 railties/lib/rails/info.rb
@@ -61,8 +61,10 @@ def to_html
- # 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)".
egilburg added a note Jul 3, 2013

Example should say "2.0.0-p247" based on code, or else remove the '-' from the code if you don't want it.

Ruby on Rails member

That's true, I missed that. Fixed in d6e1d6d. Thanks.

TylerBrock added a note Jul 3, 2013

Sorry about that, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ property 'Ruby version' do
+ end
# The RubyGems version, if it's installed.
property 'RubyGems version' do

0 comments on commit 5c099a6

Please sign in to comment.
Something went wrong with that request. Please try again.