Skip to content

Commit

Permalink
Added non-root installation path notes.
Browse files Browse the repository at this point in the history
This improves documentation for the issue raised in EugenMayer#628.
  • Loading branch information
javabrett authored Jul 26, 2019
1 parent d27323e commit 9f67bf0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/getting-started/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,25 @@ No matter if its OSX/Linux/Windows
Depending on the OS, you might need more steps to setup. Continue reading below.

Installation as non-root
========================

You may elect to install ``docker-sync`` as a non-root user. To install as the current user:

.. code-block:: shell
gem install --user-install docker-sync
Then set-up your shell to add the ``docker-sync`` command to the ``PATH``. Edit ``.bashrc``:

.. code-block:: shell
if which ruby >/dev/null && which gem >/dev/null; then
PATH="$(ruby -r rubygems -e 'puts Gem.user_dir')/bin:$PATH"
fi
... the start a new shell and run ``docker-sync``.

----

.. _installation-osx:
Expand Down

0 comments on commit 9f67bf0

Please sign in to comment.