$ sudo apt update && sudo apt upgrade -y
$ sudo ufw allow 11371
$ sudo apt install gnupg
# please verify the keys at https://rvm.io/rvm/security
$ gpg --keyserver hkp://keyserver.ubuntu.com \
--recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 \
7D2BAF1CF37B13E2069D6956105BD0E739499BDB
$ cd ~/Downloads
$ sudo apt update && sudo apt install curl -y && \
curl -sSL https://get.rvm.io | bash -s stable
$ source /home/munseongjeong/.rvm/scripts/rvm
$ rvm -v
rvm 1.29.12 (latest) by Michal Papis,
Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
$ rvm install ruby-2.7.0 # check the version you want to get
$ rvm --default use ruby-2.7.0
$ ruby -v
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]
$ git clone https://github.com/rubygems/rubygems.git
$ cd rubygems/
$ ruby setup.rb
$ gem -v
3.5.0.dev
$ echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
$ echo 'export GEM_HOME=$HOME/gems' >> ~/.bashrc
$ echo 'export PATH=$HOME/gems/bin:$PATH' >> ~/.bashrc
$ source ~/.bashrc
$ cd <JEKYLL_DIR>
$ gem install jekyll bundler
$ bundle
$ bundle exec jekyll s &
$ git remote add upstream https://github.com/mmistakes/minimal-mistakes.git
$ git fetch upstream
$ git checkout master
$ git rebase upstream/master
Leave a comment