From 4ca7b2ee0e8479a650f11775f5e052048bd3bed8 Mon Sep 17 00:00:00 2001 From: nils2000 Date: Sun, 3 Nov 2013 23:26:28 +0100 Subject: [PATCH] changed the information about modification of PATH under OS X. Added brew doctor --- docs/starting/install/osx.rst | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/docs/starting/install/osx.rst b/docs/starting/install/osx.rst index dc6676733..ba248f222 100644 --- a/docs/starting/install/osx.rst +++ b/docs/starting/install/osx.rst @@ -44,14 +44,31 @@ simply run The script will explain what changes it will make and prompt you before the installation begins. -Once you've installed Homebrew, insert the Homebrew directory at the top -of your ``PATH`` environment variable. You can do this by adding the following -line at the bottom of your ``~/.bashrc`` file + +.. code-block:: console + + $ brew doctor + +will analyse the setup and give hints which steps you might have missed. + +Once you've installed Homebrew, move the Homebrew directory to the top +of your ``PATH`` environment variable. You can do this either globaly +by editing ``/etc/paths``, e.g. by + +.. code-block:: console + + $ sudo nano /etc/paths + +and writing the last line first or by adding .. code-block:: console export PATH=/usr/local/bin:$PATH +to ``~/.bash_profile``. This is tested with OS X 10.8.5. +Rumor has it that on OS X 10.4 / 10.5 / 10.6 this line should go to ~/.profile, +but this is not tested. + Now, we can install Python 2.7: :: $ brew install python