Ruby

From miki
Revision as of 12:21, 2 November 2016 by Mip (talk | contribs) (Created page with "== Gem install == === Offline install === To install Ruby gems on an offline machine (i.e. without internet connection). To get help: <source lang=bash> gem help </source> O...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Gem install

Offline install

To install Ruby gems on an offline machine (i.e. without internet connection).

To get help:

gem help

On a machine with internet connection:

gem install -i tmp cucumber              # ... or ...
gem install -i tmp cucumber -v 0.10.7    # to install a specific version

On the offline machine:

cd tmp/cache
gem install -f --local *.gem             # use 'sudo ...' for global install