Skip to content

Commit 001173f

Browse files
committed
More concrete installation instructions
1 parent 6ec35d2 commit 001173f

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,18 @@ Example email:
2828

2929
## Requirements
3030

31-
* Ruby 1.8.7 or higher
32-
* RubyGems
31+
* Ruby 1.8.7 or higher.
32+
* RubyGems.
33+
* libxml2 and libxslt with headers (see [nokogiri installation notes](http://nokogiri.org/tutorials/installing_nokogiri.html) for details).
3334

34-
We do not support ruby 1.8.6 because of nokogiri gem.
35+
We do not support ruby 1.8.6 because of nokogiri gem requirements.
3536

3637
## Installing and Configuring
3738

3839
Install the gem:
3940

4041
```bash
41-
sudo gem install git-commit-notifier
42+
gem install git-commit-notifier
4243
```
4344

4445
After you installed the gem, you need to configure your git repository. Add a file called
@@ -56,8 +57,8 @@ An example for the config file can be found in [config/git-notifier-config.yml.s
5657
If you want to send mails on each commit instead on each push, you should add a file called "post-commit" with this content:
5758

5859
```bash
59-
#!/bin/sh
60-
echo "HEAD^1 HEAD refs/heads/master" | git-commit-notifier path_to_config.yml
60+
#!/bin/sh
61+
echo "HEAD^1 HEAD refs/heads/master" | git-commit-notifier path_to_config.yml
6162
```
6263

6364
## Integration with Redmine, Bugzilla, MediaWiki

0 commit comments

Comments
 (0)