Skip to content

Instantly share code, notes, and snippets.

@sandyxu
Last active October 28, 2015 03:07

Revisions

  1. sandyxu revised this gist Oct 28, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gem-env-path
    Original file line number Diff line number Diff line change
    @@ -13,4 +13,4 @@
    Display information about the RubyGems environment


    cd `gem environment gempath`
    gem environment gempath
  2. sandyxu created this gist Oct 28, 2015.
    16 changes: 16 additions & 0 deletions gem-env-path
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    gem help environment

    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
    platform display the supported gem platforms
    <omitted> display everything

    Summary:
    Display information about the RubyGems environment


    cd `gem environment gempath`