lib/nanoc/cli/error_handler.rb in nanoc-3.4.0 vs lib/nanoc/cli/error_handler.rb in nanoc-3.4.1
- old
+ new
@@ -199,9 +199,19 @@
stream.puts '=== VERSION INFORMATION:'
stream.puts
stream.puts Nanoc.version_information
stream.puts
+ # System information
+ begin
+ uname = `uname -a`
+ stream.puts '=== SYSTEM INFORMATION:'
+ stream.puts
+ stream.puts uname
+ stream.puts
+ rescue Errno::ENOENT
+ end
+
# Installed gems
stream.puts '=== INSTALLED GEMS:'
stream.puts
self.gems_and_versions.each do |g|
stream.puts " #{g.first} #{g.last.join(', ')}"