Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
/ gemstash Public archive

Docker image for gemstash

Notifications You must be signed in to change notification settings

AirHelp/gemstash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gemstash

Docker image for gemstash

Build container

docker build --pull -t airhelp/gemstash .

Start container

docker run -i --rm --name gemstash \
  -v /root/.gemstash:/root/.gemstash \
  -p 9292:9292 \
  airhelp/gemstash

Configure Bundler

Now, you can tell Bundler to use Gemstash container:

$ bundle config mirror.https://rubygems.org http://localhost:9292

optionally you can enable fallback to rubygems.org

$ bundle config mirror.https://rubygems.org.fallback_timeout true

and set timeout

$ bundle config mirror.https://rubygems.org.fallback_timeout 3

For more details go to: https://github.com/bundler/gemstash