-
Notifications
You must be signed in to change notification settings - Fork 58
Installation
stevenklise edited this page Jun 19, 2012
·
5 revisions
-
Clone this repository
$ git clone https://github.com/runemadsen/Magic-Book-Project.git $ cd Magic-Book-Project -
Use Ruby 1.9.3. To manage multiple rubies, install either RVM or rbenv.
To install Ruby 1.9.3 with RVM:
$ rvm install ruby-1.9.3-p194
$ rvm use ruby-1.9.3
-
Run bundler to install gems (if you don't have bundler do
$ gem install bundler).$ bundle install -
We are using a custom build of the asciidoc gem. To keep track of changes to this gem use git submodules. From the root of the repository run the following two commands to initialize the submodule and then get any updates.
$ git submodule init $ git submodule update -
Now you need the asciidoc program. We recommend installing asciidoc with homebrew. Once you have homebrew installed get the asciidoc keg like so
$ brew install asciidoc
If your book will include code blocks you'll need to install pygments for syntax highlighting.
$ sudo easy_install Pygments