aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2011-06-27 11:59:23 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2011-06-27 11:59:46 +0200
commitf63f0baa59356fcb68beed46d4d6a26248c6385c (patch)
tree9c0fd0690d5aeb0082b77634fe39ae880ce0f3e5 /railties
parent449cc3e999d929a7769846ae1bc1394dbe613aba (diff)
downloadrails-f63f0baa59356fcb68beed46d4d6a26248c6385c.tar.gz
rails-f63f0baa59356fcb68beed46d4d6a26248c6385c.tar.bz2
rails-f63f0baa59356fcb68beed46d4d6a26248c6385c.zip
Add JavaScript Runtime name to the Rails Info properties (thanks Sam Ruby)
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/info.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/info.rb b/railties/lib/rails/info.rb
index d05e031f56..a1e15092b2 100644
--- a/railties/lib/rails/info.rb
+++ b/railties/lib/rails/info.rb
@@ -78,6 +78,10 @@ module Rails
Rails::VERSION::STRING
end
+ property 'JavaScript Runtime' do
+ ExecJS.runtime.name
+ end
+
# Versions of each Rails framework (Active Record, Action Pack,
# Active Resource, Action Mailer, and Active Support).
frameworks.each do |framework|