Skip to content

Commit

Permalink
Updated Install for Debian and Ubuntu
Browse files Browse the repository at this point in the history
1) Tidied up examples
2) Added intructions on setting path to gems
3) Added workaround for Ubuntu
  • Loading branch information
Alec Clews committed Apr 11, 2011
1 parent 26308c0 commit d674110
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.mkd
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ To install these packages on a Debian system, or a Debian based system like Ubun
sudo apt-get install git ruby rubygems
sudo gem install git

After installing Gems it is necessary to update the PATH environment variable so that the scripts can be found. Issue the following command to the end of your .bachrc file or equivalent.

PATH=$PATH:/var/lib/gems/1.8/bin

**ticgitweb**

Required Packages: git, ruby, rubygems
Expand All @@ -44,8 +48,6 @@ To install these packages on a Debian system, or a Debian based system like Ubun
sudo gem install git sinatra haml
sudo gem install sass --pre



**A Note about rubygems**

While the version of rubygems available from the repositories on Debian 5.0.5 stable will work just fine for using the command line `ti` program, using `ticgitweb` requires some extra effort.
Expand All @@ -60,14 +62,15 @@ The git gem requires a git version of 1.6.0.0 or later, but on Debian stable, gi

If these annoy you as they do me and you've set up [apt](http://jaqque.sbih.org/kplug/apt-pinning.html) [pinning](http://jeffwelling.github.com//2010/09/05/Apt-Pinning.html), you can do

$ sudo apt-get -t testing install git-core
sudo apt-get -t testing install git-core

And those notices should go away.

NB Ubuntu is already at Git 1.7 and does not have this issue. However the Git PPA [ppa:git-core/ppa](https://launchpad.net/~git-core/+archive/ppa) can be added to the package repository
list to obtain Git updates if wanted.
**A Note about Ubuntu**

NB At the time of writing (Ver 1.0.2.3) there are additional problems with TigGitWeb Ubuntu. The workaround is to add `/var/lib/gems/1.8/gems/TicGit-ng-1.0.2.3/bin` to start of PATH. viz

PATH=/var/lib/gems/1.8/gems/TicGit-ng-1.0.2.3/bin:$PATH

### Installing ##
Installation on a Debian stable system. Note that the command line interface for TicGit-ng can be run from Debian stable, but some of the gems required for the web interface may require you to use [apt](http://jaqque.sbih.org/kplug/apt-pinning.html) [pinning](http://jeffwelling.github.com//2010/09/05/Apt-Pinning.html) to run without errors. See below
Expand Down

0 comments on commit d674110

Please sign in to comment.