# Gem Server

This repository contains a geminabox server. This is maintained by QA.

This is currently experimental, so it should not be considered stable at this point.
**Please do not use this for production services without notifying #qa-automation**

Gem Server is located at:

http://qa-gemserver.us-west2.justin.tv:9292/

### Running The Server
Pull image from docker:

`docker-registry.internal.justin.tv/qa/geminabox:0.13.1`

Run using:

`docker run -d -p 9292:9292 docker-registry.internal.justin.tv/qa/geminabox:0.13.1`

### Pushing Gems to Server
Install geminabox on your machine:

`gem install geminabox`

Build the gem as usual, such as:

`gem build GEM.gemspec` (replace GEM with your gem name)

Then push to the server using:

`gem inabox GEM.gem -g http://qa-gemserver.us-west2.justin.tv:9292/` (replace GEM with your gem name)

### Pulling From Gem Server

In bundler, refer to `source: 'http://qa-gemserver.us-west2.justin.tv:9292'`

Example:

`gem 'jenkins_job_scraper', '0.3.0', source: 'http://qa-gemserver.us-west2.justin.tv:9292'`
