schacon/ticgit — Issue #14: ticgit on archlinux
Author: jungerkrieger89
Created: 2011-10-13 12:32:13+00:00
State: open

I had a few issues, using ticgit on arch:

I installed it via gem.
Here are some of my system informations which could be relevant:

```
$ ruby --version
1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
```

```
$ gem --version
1.8.11
```

```
$ git --version
1.7.7
```

```
$ gem list
...
git (1.2.5)
haml (3.1.3)
rubygems-update (1.8.11)
sass (3.1.10)
sinatra (1.3.1)
TicGit-ng (1.0.2.9)
...
```

=========
If I run ```ti``` in a non-git folder, I get the following error:

```
/home/sven/.gem/gems/TicGit-ng-1.0.2.9/lib/ticgit-ng/cli.rb:235:in `puts': private method `puts' called for nil:NilClass (NoMethodError)
from /home/sven/.gem/gems/TicGit-ng-1.0.2.9/lib/ticgit-ng/cli.rb:30:in `rescue in initialize'
from /home/sven/.gem/gems/TicGit-ng-1.0.2.9/lib/ticgit-ng/cli.rb:23:in `initialize'
from /home/sven/.gem/gems/TicGit-ng-1.0.2.9/lib/ticgit-ng/cli.rb:14:in `new'
from /home/sven/.gem/gems/TicGit-ng-1.0.2.9/lib/ticgit-ng/cli.rb:14:in `parse'
from /home/sven/.gem/gems/TicGit-ng-1.0.2.9/lib/ticgit-ng/cli.rb:9:in `execute'
from /home/sven/.gem/gems/TicGit-ng-1.0.2.9/bin/ti:13:in `'
from /home/sven/.gem/bin/ti:19:in `load'
from /home/sven/.gem/bin/ti:19:in `

'
```

If I setup a new git repos and run the ```ti``` command inside:

```text
/home/sven/.gem/gems/git-1.2.5/lib/git/lib.rb:153:in `block in process_commit_data': undefined method `[]=' for nil:NilClass (NoMethodError)
from /home/sven/.gem/gems/git-1.2.5/lib/git/lib.rb:135:in `each'
from /home/sven/.gem/gems/git-1.2.5/lib/git/lib.rb:135:in `process_commit_data'
from /home/sven/.gem/gems/git-1.2.5/lib/git/lib.rb:93:in `full_log_commits'
from /home/sven/.gem/gems/git-1.2.5/lib/git/log.rb:108:in `run_log'
from /home/sven/.gem/gems/git-1.2.5/lib/git/log.rb:101:in `check_log'
from /home/sven/.gem/gems/git-1.2.5/lib/git/log.rb:84:in `each'
from /home/sven/.gem/gems/TicGit-ng-1.0.2.9/lib/ticgit-ng/base.rb:25:in `map'
from /home/sven/.gem/gems/TicGit-ng-1.0.2.9/lib/ticgit-ng/base.rb:25:in `initialize'
from /home/sven/.gem/gems/TicGit-ng-1.0.2.9/lib/ticgit-ng.rb:46:in `new'
from /home/sven/.gem/gems/TicGit-ng-1.0.2.9/lib/ticgit-ng.rb:46:in `open'
from /home/sven/.gem/gems/TicGit-ng-1.0.2.9/lib/ticgit-ng/cli.rb:24:in `initialize'
from /home/sven/.gem/gems/TicGit-ng-1.0.2.9/lib/ticgit-ng/cli.rb:14:in `new'
from /home/sven/.gem/gems/TicGit-ng-1.0.2.9/lib/ticgit-ng/cli.rb:14:in `parse'
from /home/sven/.gem/gems/TicGit-ng-1.0.2.9/lib/ticgit-ng/cli.rb:9:in `execute'
from /home/sven/.gem/gems/TicGit-ng-1.0.2.9/bin/ti:13:in `'
from /home/sven/.gem/bin/ti:19:in `load'
from /home/sven/.gem/bin/ti:19:in `

'
```

If this isn't a general problem, I could fix some of these problems.

Greetings Sven