Author: boisvert
Date: Mon Oct 25 05:07:36 2010
New Revision: 1026946

URL: http://svn.apache.org/viewvc?rev=1026946&view=rev
Log:
More documentation about buildr version selection

Modified:
    buildr/trunk/doc/installing.textile

Modified: buildr/trunk/doc/installing.textile
URL: 
http://svn.apache.org/viewvc/buildr/trunk/doc/installing.textile?rev=1026946&r1=1026945&r2=1026946&view=diff
==============================================================================
--- buildr/trunk/doc/installing.textile (original)
+++ buildr/trunk/doc/installing.textile Mon Oct 25 05:07:36 2010
@@ -100,6 +100,15 @@ $ sudo env JAVA_HOME=$JAVA_HOME gem upda
 $ sudo env JAVA_HOME=$JAVA_HOME gem install buildr -v 1.3.4
 {% endhighlight %}
 
+Rubygems makes it possible to install several versions of Buildr side-by-side 
on the same system.  If you want to run a specific version, you can do so by 
adding the version number between underscores ('_') as the first command-line 
parameter.  For example,
+
+{% highlight sh %}
+$ buildr _1.3.4_ clean   # runs Buildr v1.3.4
+
+$ buildr _1.4.4_ clean   # runs Buildr v1.4.4
+{% endhighlight %}
+
+p(note). There are two `buildr` executables installed by Rubygems.  One script 
serves to select the specified (or default) version of Buildr and is typically 
found under `/usr/bin/buildr` or `/var/lib/gems/1.8/bin/buildr`. The exact 
location will vary depending on your system.   The other script is the Buildr 
bootstrap per se and can be found under the specific version of Buildr, e.g, 
`/var/lib/gems/1.8/gems/buildr-1.4.0/bin/buildr`.   The first script should be 
on your `PATH`.   The second script should not be called directly and should 
not be on your `PATH`.
 
 h2(#windows).  Installing on Windows
 


Reply via email to