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 startYou 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.