Skip to content

Instantly share code, notes, and snippets.

@treby
Created July 6, 2014 04:06
Show Gist options
  • Save treby/ca5cdc7e708cfe28f568 to your computer and use it in GitHub Desktop.
Save treby/ca5cdc7e708cfe28f568 to your computer and use it in GitHub Desktop.
gitbook環境構築
- nodejsのインストール
- homebrewのインストール
Last login: Sun Jul 6 11:39:53 on ttys000
Mami:~ treby$ ruby -v
ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13]
Mami:~ treby$ ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir /usr/local
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
remote: Counting objects: 184450, done.
remote: Compressing objects: 100% (50663/50663), done.
remote: Total 184450 (delta 132674), reused 184379 (delta 132619)
Receiving objects: 100% (184450/184450), 36.42 MiB | 792.00 KiB/s, done.
Resolving deltas: 100% (132674/132674), done.
From https://github.com/Homebrew/homebrew
* [new branch] master -> origin/master
HEAD is now at cde4122 brew-pull: fix --install
==> Installation successful!
==> Next steps
Run `brew doctor` before you install anything
Run `brew help` to get started
Mami:~ treby$ brew doctor
Your system is ready to brew.
- gitbookのインストール
-- npm使う
--- sudo npm install gitbook -g
- gitbook-editor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment