gem help env : RubyGems « Language Basics « Ruby






gem help env


$ gem help env
Usage: gem environment [args] [options]

  Common Options:
        --source URL                 Use URL as the remote source for gems
    -p, --[no-]http-proxy [URL]      Use HTTP proxy for remote operations
    -h, --help                       Get help on this command
    -v, --verbose                    Set the verbose level of output
        --config-file FILE           Use this config file instead of default
        --backtrace                  Show stack backtrace on errors
        --debug                      Turn on Ruby debugging

  Arguments:
    packageversion  display the package version
    gemdir          display the path where gems are installed
    gempath         display path used to search for gems
    version         display the gem format version
    remotesources   display the remote gem servers
    <omitted>       display everything

  Summary:
    Display RubyGems environmental information

 








Related examples in the same category

1.RubyGems is a package utility for Ruby
2.getting help on how to issue RubyGems commands:
3.get help on what commands are available (some output truncated).
4.help on examples (some output truncated).
5.Show everything on the RubyGems environment with this command:
6.show the RubyGems installation directory:
7.Let's check to see if Ruby on Rails is present with the list command.
8.You can check what dependencies a gem has with the dependency command:
9.To select dependencies as you install a package, skip the --include-dependencies option
10.To update all the gems on your system with all the current versions, use the update command.
11.To uninstall a package with the uninstall command: