Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AquaGeek/971653 to your computer and use it in GitHub Desktop.
Save AquaGeek/971653 to your computer and use it in GitHub Desktop.
Rails Lighthouse ticket #3644
From c1924d5dec168a5cc97290914bd77f25f4c6afe4 Mon Sep 17 00:00:00 2001
From: ujihisa <[email protected]>
Date: Fri, 8 Oct 2010 12:58:40 -0700
Subject: [PATCH] http://localhost:3000/rails/info/properties shows more details for ease of bug reporting
---
railties/lib/rails/info.rb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/railties/lib/rails/info.rb b/railties/lib/rails/info.rb
index 6cbd1f2..ca2de3c 100644
--- a/railties/lib/rails/info.rb
+++ b/railties/lib/rails/info.rb
@@ -62,8 +62,8 @@ 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})"
+ # Details of the Ruby, e.g. "ruby 1.9.2p14 (2010-10-02 revision 29393) [x86_64-darwin10.4.1]"
+ property 'Ruby description', RUBY_DESCRIPTION
# The RubyGems version, if it's installed.
property 'RubyGems version' do
--
1.7.3
From ce270e42baa73e146a90c3940298d7fb352ef4d5 Mon Sep 17 00:00:00 2001
From: ujihisa <[email protected]>
Date: Sat, 2 Jan 2010 17:26:58 -0800
Subject: [PATCH] http://localhost:3000/rails/info/properties shows more details for ease of bug reporting
---
railties/builtin/rails_info/rails/info.rb | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/railties/builtin/rails_info/rails/info.rb b/railties/builtin/rails_info/rails/info.rb
index c3784cf..bda68b6 100644
--- a/railties/builtin/rails_info/rails/info.rb
+++ b/railties/builtin/rails_info/rails/info.rb
@@ -88,8 +88,9 @@ 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})"
+ # Details of the Ruby, e.g.
+ # "ruby 1.9.2dev (2010-01-02 trunk 26229) [i386-darwin9.8.0]".
+ property 'Ruby description', RUBY_DESCRIPTION
# The RubyGems version, if it's installed.
property 'RubyGems version' do
--
1.6.3.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment