All instructure step is tested on Mac OS X 10.11. other operating system is not tested. :(
-
Install RVM (Ruby Version Manager)
curl -sSL https://get.rvm.io | bash -s stable --ruby
-
Check ruby version above 2.1.7
$ ruby -version
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
if unmatch ruby version, execute this command
$ rvm install 2.2.1
$ rvm --default use 2.2.1
-
Install bundles
$ gem install bundler
-
Go to directory of
drsasimi.github.io repository
, and create file namedGemfile
with follow contents.source 'https://rubygems.org' gem 'github-pages'
-
Run follow command on root folder of repository.
$ bundle install
$ bundle exec jekyll build --safe
-
Create new jekyll site
$ jekyll new . --force
-
If you want run server, run this command.
$ jekyll serve