diff options
author | elijah <elijah@riseup.net> | 2016-05-20 15:52:36 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-05-20 15:52:36 -0700 |
commit | a9471db5ad3fb9c280e0c99c9c52cf59c627fe42 (patch) | |
tree | 2b8c0afb41d7a1ab797f05e95e0379d57c617163 /pages/docs/platform/details | |
parent | dc00d79abf5e90dd7d001ea6a5f7edd50c36febe (diff) |
fixed leap_cli install instructions
Diffstat (limited to 'pages/docs/platform/details')
-rw-r--r-- | pages/docs/platform/details/development.md | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/pages/docs/platform/details/development.md b/pages/docs/platform/details/development.md index 78915ad..bbda56d 100644 --- a/pages/docs/platform/details/development.md +++ b/pages/docs/platform/details/development.md @@ -8,13 +8,15 @@ Installing leap_cli Install the latest: - gem install leap_cli --install-dir ~/leap - export PATH=$PATH:~/leap/bin + gem install --user-install leap_cli -Install a particular version: +Or install a particular version: + + gem install --version 1.8 --user-install leap_cli + +Add the --user-install directory to your path: - gem install leap_cli --version 1.8 --install-dir ~/leap - export PATH=$PATH:~/leap/bin + [ $(which ruby) ] && PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin" ### From gem, system wide @@ -45,7 +47,7 @@ Install a particular version: Then do one of the following to be able to run `leap` command: cd leap_cli - export PATH=$PATH:`pwd`/bin + PATH=$PATH:`pwd`/bin alias leap="`pwd`/bin/leap" ln -s `pwd`/bin/leap ~/bin/leap |