Setting up your GitHub Pages site locally with Jekyll
ruby --version
gem --version
gem install bundler
bundle install
bundle exec jekyll serve --incremental
How to add a new gem to Gemfile
?
bundle add webrick
How to update the bundler version in a Gemfile.lock
?
# Install the latest bundler version
gem install bundler
# Update the bundler version in Gemfile.lock
bundle update --bundler
# Confirm it worked
tail -n2 Gemfile.lock
How to update a particular gem in Gemfile
?
bundle update github-pages
# or
bundle update
How to update all default gems in the system?
gem update --system