2016-04-28 18 views
0

Ich habe gerade gitboot auf meinem ubuntu 14.04 installiert. Bald fand ich es unberechenbar. gitbook -h zeigt folgendes:wie deinstallieren klebrig gitbook alte version

home: gitbook -h 

Usage: gitbook [options] [command] 


Commands: 

ls      List versions installed locally 
current     Display currently activated version 
ls-remote     List remote versions available for install 
fetch [version]   Download and install a <version> 
alias [folder] [version] Set an alias named <version> pointing to <folder> 
uninstall [version]  Uninstall a version 
update [tag]    Update to the latest version of GitBook 
help      List commands for GitBook 
*       run a command with a specific gitbook version 

Options: 

-h, --help    output usage information 
-V, --version   output the version number 
-v, --gitbook [version] specify GitBook version to use 
-d, --debug    enable verbose error 

wesentlichen Befehle wie 'Build', 'dienen', 'pdf', sind noch nicht in der Hilfe-Informationen! Trotzdem kann ich 'gitbook pdf' oder 'gitbook serve' verwenden. Also habe ich seine Version überprüft und festgestellt, dass es ein sehr altes 2.1.3 ist. SO habe ich 'gitbook update' benutzt, um 2.6.7 zu bekommen; und auch die aktuellste Version installiert. Jetzt habe ich:

home: gitbook ls 
GitBook Versions Installed: 

* 3.0.0-pre.9 
    2.6.7 

Run "gitbook update" to update to the latest version. 
home: gitbook -V 
     2.1.3 
home: 

Ich möchte die alte Version 2.1.3 loswerden, aber gescheitert.

home: gitbook uninstall 2.1.3 

Error: ENOENT, lstat '/home/chensy/.gitbook/versions/2.1.3' 

Irgendeine Idee, wie man 2.1.3 entfernt? Warum gab 'gitbook -h' mir eine unvollständige Befehlsliste?

Antwort

0

Das -V gibt die Version des CLI, nicht das Hauptgitbook-Modul (2.6.7 oder 3.0.0). Sie haben jeweils die neuesten Versionen.