RubyGems Navigation menu

environment_information 1.0.61

This small library, consisting of just one .rb file, will output some information about the environment, i.e. GCC Version, Glibc Version, Ruby Version, Host CPU model and so on. It will store this information in the instance_variable @string, which can be accessed through a reader-method and used in other scripts. There are two basic and recommended ways how to use this class: (1) From the commandline, just call it directly and pass it specific commands (optionally). (2) Embedded somewhere else, i.e. for use in a .cgi page. An example for the latter follows: _ = EnvironmentInformation.new(false) _.set_n_tokens 58 _.disable_colours _.be_silent _.dont_show_ruby_stuff _.run You can also display some additional information, such as GTK, Glib, Atk and Pango Versions, by passing in "f" or "full" on the commandline. See the help section of this script, which you can invoke by passing "help" as argument to it. Since April 2013 it will use the module UnifiedColours for colour-related output. Since Nov 2013 we will also feedback openssl information if you pass in the syntax "openssl" to it.

Versions:

  1. 1.0.61 - November 23, 2014 (15 KB)
  2. 1.0.60 - September 8, 2014 (14 KB)
  3. 1.0.59 - September 6, 2014 (14 KB)
  4. 1.0.58 - September 6, 2014 (14 KB)
  5. 1.0.56 - September 2, 2014 (13.5 KB)
Show all versions (57 total)

Authors:

  • Robert A. Heiler

Owners:

A14d1bca90d7ebeda50dca99aab381b9

Total downloads 22,381

For this version 132

Show all versions (57 total)

Required Ruby Version: >= 0

Licenses:

GPL 2

Gemfile:
gem 'environment_information', '~> 1.0.61' = Copy to clipboard Copied!

install:
gem install environment_information = Copy to clipboard Copied!

Links: