Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

get a bundle

branch: self_hosting

This branch is 62 commits ahead and 4 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

spitball

A very simple gem package generation tool built on bundler. Pass it a gem file, it spits out a tarball of the generated gem environment. Perfect for "bundle once, upload everywhere"-style deployment.

Also comes with spitball-server, a small sinatra app that you can run on a dedicated build server. The spitball command line client can then pull packages down from said server.

Usage

Usage: spitball [options] GEMFILE ARCHIVE

options:
    -h, --host HOST                  Get the tarball from a remote spitball server
    -p, --port PORT                  Specify the remote server port. Default 8080
        --without a,b,c              Excluded groups in the tarball. Does not apply to remote spitballs
        --version

environment variables:
        SPITBALL_CACHE           Specifies the cache dir. Defaults to /tmp/spitball

TODO

Lots of things are changing in bundler 1.0. We're stuck on 0.9.5 for now, but once we get to 1.0, this tool will probably work with lock files instead of gem files, for more predictable builds.

Something went wrong with that request. Please try again.