Skip to content

Instantly share code, notes, and snippets.

@vik-y
Created March 30, 2018 15:17
Show Gist options
  • Save vik-y/5b340a25f94e4fef2d04d4115545d6c4 to your computer and use it in GitHub Desktop.
Save vik-y/5b340a25f94e4fef2d04d4115545d6c4 to your computer and use it in GitHub Desktop.
Steps to get jenkins up and running

RVM, Ruby and Gemstash Installation

This is required to speed up bundle install. RVM Installation is fairly simple for ubuntu systems.

# Refer to https://github.com/rvm/ubuntu_rvm
sudo apt-add-repository -y ppa:rael-gc/rvm
sudo apt-get update
sudo apt-get install rvm

# After this installation ruby 
rvm install 2.4

# Then install gemstash
gem install gemstash --no-ri --no-rdoc

# Run gemstash
gemstash start

You have to ensure that docker0 interface on your host system has IP address 172.17.0.1. This is to ensure proper working of bundle install commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment