Ruby, Gems, and Jekyll
Ruby
- What: Open-source programming language.
- Use: Powers Jekyll; general-purpose scripting, web development.
- Install:
- Download: ruby-lang.org
- Verify:
ruby -v
Gems
- What: Ruby package manager (libraries/tools).
- Use: Add features to Ruby; manage project dependencies.
- Install:
- Comes with Ruby.
- Update:
gem update --system - Install a gem:
gem install [gem-name]
Jekyll
- What: Static site generator (Ruby-based).
- Use: Build blogs/websites from Markdown/HTML templates.
- Install:
gem install bundler jekyll - Create site:
jekyll new [site-name] cd [site-name] - Run locally:
bundle exec jekyll serve - Deploy: Push to GitHub repo; enable GitHub Pages in settings. ```