ticgit
ticgit copied to clipboard
Problem getting this program to run after installing on Kali Linux.
I'm trying to get this program running and first i install the following packages using APT.
sudo apt-get install git ruby rubygems
[sudo] password for su8_z3r0:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'ruby' instead of 'rubygems'
git is already the newest version (1:2.39.0-1).
ruby is already the newest version (1:3.1).
The following packages were automatically installed and are no longer required:
ruby-git ruby-haml ruby-html2haml ruby-listen ruby-rb-inotify ruby-ruby-parser ruby-sass ruby-sexp-processor ruby-temple ruby-thor
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
I then install git
sudo gem install git
Successfully installed git-1.13.1
Parsing documentation for git-1.13.1
Done installing documentation for git after 0 seconds
1 gem installed
I then use the command to run the program, I get the following.
ti
└─$ ti
No repo found
So then I install the following to try and use ticgitweb.
sudo gem install git sinatra haml sass
Successfully installed git-1.13.1
Parsing documentation for git-1.13.1
Done installing documentation for git after 0 seconds
Fetching rack-2.2.6.2.gem
Successfully installed rack-2.2.6.2
Fetching sinatra-3.0.5.gem
Successfully installed sinatra-3.0.5
Parsing documentation for rack-2.2.6.2
Installing ri documentation for rack-2.2.6.2
Parsing documentation for sinatra-3.0.5
Installing ri documentation for sinatra-3.0.5
Done installing documentation for rack, sinatra after 22 seconds
Fetching haml-6.1.1.gem
Building native extensions. This could take a while...
Successfully installed haml-6.1.1
Parsing documentation for haml-6.1.1
Installing ri documentation for haml-6.1.1
Done installing documentation for haml after 0 seconds
Fetching rb-fsevent-0.11.2.gem
Fetching sass-listen-4.0.0.gem
Successfully installed rb-fsevent-0.11.2
Successfully installed sass-listen-4.0.0
Fetching sass-3.7.4.gem
Ruby Sass has reached end-of-life and should no longer be used.
* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
primary implementation: https://sass-lang.com/install
* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
sassc gem: https://github.com/sass/sassc-ruby#readme
* For more details, please refer to the Sass blog:
https://sass-lang.com/blog/posts/7828841
Successfully installed sass-3.7.4
Parsing documentation for rb-fsevent-0.11.2
Installing ri documentation for rb-fsevent-0.11.2
Parsing documentation for sass-listen-4.0.0
Installing ri documentation for sass-listen-4.0.0
Parsing documentation for sass-3.7.4
Installing ri documentation for sass-3.7.4
Done installing documentation for rb-fsevent, sass-listen, sass after 3 seconds
7 gems installed
I also run this command.
└─$ sudo gem install TicGit-ng
Successfully installed TicGit-ng-1.0.2.18
Parsing documentation for TicGit-ng-1.0.2.18
Done installing documentation for TicGit-ng after 0 seconds
1 gem installed
The following below is what happens when running ticgitweb
└─$` ticgitweb
/var/lib/gems/3.1.0/gems/TicGit-ng-1.0.2.18/lib/ticgit-ng/base.rb:112:in `block in find_repo': TicGitNG::NoRepoFound (TicGitNG::NoRepoFound)
from /var/lib/gems/3.1.0/gems/TicGit-ng-1.0.2.18/lib/ticgit-ng/base.rb:110:in `loop'
from /var/lib/gems/3.1.0/gems/TicGit-ng-1.0.2.18/lib/ticgit-ng/base.rb:110:in `find_repo'
from /var/lib/gems/3.1.0/gems/TicGit-ng-1.0.2.18/lib/ticgit-ng/base.rb:12:in `initialize'
from /var/lib/gems/3.1.0/gems/TicGit-ng-1.0.2.18/lib/ticgit-ng.rb:52:in `new'
from /var/lib/gems/3.1.0/gems/TicGit-ng-1.0.2.18/lib/ticgit-ng.rb:52:in `open'
from /var/lib/gems/3.1.0/gems/TicGit-ng-1.0.2.18/bin/ticgitweb:31:in `<top (required)>'
from /usr/local/bin/ticgitweb:25:in `load'
from /usr/local/bin/ticgitweb:25:in `<main>'