Last active
September 19, 2018 17:57
-
-
Save Lerie82/5490bc9052637e27024b737030d8b9fb to your computer and use it in GitHub Desktop.
ruby+jekyll install on ubuntu xenial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#https://jekyllrb.com/docs/installation/ubuntu/ | |
sudo apt-get install ruby ruby-dev build-essential | |
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc | |
echo 'export GEM_HOME=$HOME/gems' >> ~/.bashrc | |
echo 'export PATH=$HOME/gems/bin:$PATH' >> ~/.bashrc | |
source ~/.bashrc | |
#bundle install | |
sudo gem install jekyll bundler |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment