aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md32
1 files changed, 16 insertions, 16 deletions
diff --git a/README.md b/README.md
index 5976710..fc1acdd 100644
--- a/README.md
+++ b/README.md
@@ -157,19 +157,31 @@ Ubuntu
Install from git
--------------------------------------
-Download the source and install the required gems:
+Download the source:
git clone git://leap.se/leap_cli # clone leap_cli code
cd leap_cli
- bundle # install required gems
+
+Running as a gem
+--------------------------------------
+
+To install ``leap`` as a gem, do this:
+
+ cd leap_cli
+ rake build
+ rake install
+
+And then make sure your PATH is set to include where leap is installed.
+It should warn you if this is not the case.
Running from the source directory
--------------------------------------
-To run the ``leap`` command directly from the source tree, symlink bin/leap
-into your path:
+To run the ``leap`` command directly from the source tree, you need to install
+the required gems using ``bundle`` and symlink ``bin/leap`` into your path:
cd leap_cli
+ bundle # install required gems
ln -s `pwd`/bin/leap ~/bin # link executable somewhere in your bin path
which leap # make sure you will run leap_cli/bin/leap
leap help
@@ -183,15 +195,3 @@ other places, it is easier to create the symlink. If you run ``leap`` directly,
the command launcher that rubygems installs, leap will run in a mode that simulates
``bundle exec leap`` (i.e. only gems included in Gemfile are allow to be loaded).
-Running as a gem
---------------------------------------
-
-To install ``leap`` as a gem, do this:
-
- cd leap_cli
- rake build
- rake install
-
-And then make sure your PATH is set to include where leap is installed.
-It should warn you if this is not the case.
-