私のubuntu 14.04にgitbootをインストールしました。まもなく私はそれが不安定であることを発見した。次示し-h gitbook:「PDF」、「ビルド」などのsticky gitbookの古いバージョンをアンインストールする方法
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
不可欠コマンド、「サーブ」は、ヘルプ情報でさえありません!それにもかかわらず、私は 'gitbook pdf'または 'gitbook serve'を使うことができます。だから私はそのバージョンをチェックし、それが非常に古い2.1.3であることを発見しました。だから私は2.6.7を得るために 'gitbook update'を使いました。最新のバージョンもインストールしました。今私は持っています:
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:
私は古いバージョン2.1.3を取り除きたいのですが、失敗しました。
home: gitbook uninstall 2.1.3
Error: ENOENT, lstat '/home/chensy/.gitbook/versions/2.1.3'
どのように2.1.3を削除するか考えていますか?なぜ 'gitbook -h'が私にコマンドの不完全なリストをくれたのですか?