RubyGems Navigation menu

environment_information 1.0.63

This small library, consisting of just one .rb file (if you ignore the version definition in version.rb), 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 like .string? and used in other scripts. There are essentially 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.63 - February 19, 2015 (17 KB)
  2. 1.0.61 - November 23, 2014 (15 KB)
Show all versions (58 total)

Runtime Dependencies:

Authors:

  • Robert A. Heiler

Owners:

A14d1bca90d7ebeda50dca99aab381b9

Sha 256 checksum:

f97bbe79781c1ff17719c8dc9a1997f700208f4a3a78cc89bec49ed89a99bef0

Total downloads 28,817

For this version 114

Show all versions (58 total)

Required Ruby Version: >= 0

Licenses:

GPL 2

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: