Portfolio.
- nvm
- node
- Ruby manager (rbenv)
- RubyGems
- Jekyll gem
- Bundler gem
- Jekyll
- Ruby/Gems
- The Definitive Guide To Installing Ruby Gems on a Mac
- How to fix "command not found" after installing gems
- Script to set up macOS for Ruby development
- Laptop
- Ruby manager: rbenv
- Install nvm
If ruby manager and gems not installed:
- Setup ruby manager:
brew install rbenv
- install ruby managerrbenv init
- follow printed instructions- Install latest stable version
- At the moment it's working with 3.2.0
- Setup ruby and gems on project:
rbenv local VERSION_NUMBER
- sets local ruby version on project directorygem install jekyll bundler
- install the jekyll and bundler gems (use sudo if needed)
After ruby manager and gems installed:
bundle install
- install dependenciesbundle update
- update dependenciesbundle exec jekyll serve
- build the site and make it available on a local server- If it doesn't work try to comment jekyll-autoprefixer inside
_config.yml
file
- If it doesn't work try to comment jekyll-autoprefixer inside
bundle exec jekyll serve
- run project
- Website at localhost:4000
When we push to the master git branch, website is automatically deployed to production.
master
- deploy branch