Ubuntu:
wget https://github.com/postmodern/ruby-install/releases/download/v0.9.3/ruby-install-0.9.3.tar.gz
tar -xzvf ruby-install-0.9.3.tar.gz
cd ruby-install-0.9.3/
sudo make install
sudo apt-get update
sudo apt install -y pandoc direnv
ruby-install 3.1.4
OS X:
brew install direnv pandoc ruby-install
ruby-install 3.1.4
echo 'eval "$(direnv hook bash)"' >> ~/.bashrc
source ~/.bashrc
cd /path/to/riazi_cafe
direnv allow
Check if ruby-install Ruby is being used:
which ruby
/home/hadi/.rubies/ruby-3.1.4/bin/ruby
bundle install
- To generate the website, run
bundle exec make -j16. - Then run
bundle exec make httpand visit http://localhost:8000/.