diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2011-06-27 11:59:23 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2011-06-27 11:59:46 +0200 |
commit | f63f0baa59356fcb68beed46d4d6a26248c6385c (patch) | |
tree | 9c0fd0690d5aeb0082b77634fe39ae880ce0f3e5 /railties | |
parent | 449cc3e999d929a7769846ae1bc1394dbe613aba (diff) | |
download | rails-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.rb | 4 |
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| |