# File lib/nanoc.rb, line 10 def self.version_information gem_info = defined?(Gem) ? "with RubyGems #{Gem::VERSION}" : "without RubyGems" engine = defined?(RUBY_ENGINE) ? RUBY_ENGINE : "ruby" res = '' res << "nanoc #{Nanoc::VERSION} © 2007-2012 Denis Defreyne.\n".make_compatible_with_env res << "Running #{engine} #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) on #{RUBY_PLATFORM} #{gem_info}.\n" res end