Skip to content

Instantly share code, notes, and snippets.

@Lerie82
Last active September 19, 2018 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lerie82/5490bc9052637e27024b737030d8b9fb to your computer and use it in GitHub Desktop.
Save Lerie82/5490bc9052637e27024b737030d8b9fb to your computer and use it in GitHub Desktop.
ruby+jekyll install on ubuntu xenial
#!/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