Install Ruby Version Manager (rvm)
curl -L https://get.rvm.io | bash -s stable --ruby
Then check which rubies are installed by using
rvm list
ruby -v
you can then switch ruby versions using
rvm use 1.9.3 --default
If not install you can install by
rvm install ruby-1.9.3-p551
Now we have correct version start building app
gem install bundler
bundle install
To start serve
bundle exec jekyll serve –watch
Then go to below URL
No comments:
Post a Comment