Skip to content
Ruby
Latest commit 8ef7360 May 31, 2014 @ddollar deprecated
Failed to load latest commit information.
bin allow --debug to print backtraces Mar 18, 2012
data stacks, and building on stacks Mar 18, 2012
lib Fix Foreman::Procfile#entries call. Nov 12, 2012
.gitignore ignore pkg Mar 18, 2012
Gemfile show no stack message Mar 18, 2012
Gemfile.lock 0.1.0 Jun 5, 2012
README.md deprecated May 31, 2014
mason.gemspec stacks, and building on stacks Mar 18, 2012

README.md

DEPRECATED

This project is deprecated and is no longer supported.

Mason

Build things

$ gem install mason

Install buildpacks locally

$ mason buildpacks
* buildpacks (~/.mason/buildpacks)
  = nodejs: https://github.com/heroku/heroku-buildpack-nodejs.git
  = ruby: https://github.com/ddollar/heroku-buildpack-ruby.git

$ mason buildpacks:install https://github.com/heroku/heroku-buildpack-python.git
* installing buildpack https://github.com/heroku/heroku-buildpack-python.git

Use buildpacks to build things

$ mason build /tmp/app
* detecting buildpack... done
  = name: Ruby
  = url: https://github.com/heroku/heroku-buildpack-ruby.git
* compiling:
... COMPILE OUTPUT
* packaging... done
  = type: dir
  = file: /tmp/mason.out

$ mason build /tmp/app -t dir -o /tmp/compiledapp
* detecting buildpack... done
  = name: Ruby
  = url: https://github.com/heroku/heroku-buildpack-ruby.git
* compiling...
... COMPILE OUTPUT
* packaging... done
  = type: dir
  = dir: /tmp/compiledapp

$ mason build /tmp/app -b https://github.com/ddollar/buildpack-other.git -t tgz
* detecting buildpack... done
  = name: Other
  = url: https://github.com/ddollar/buildpack-other.git
* compiling...
... COMPILE OUTPUT
* packaging... done
  = type: tgz
  = file: /tmp/app.tgz

Build things for other platforms using Vagrant

You will need VirtualBox for Vagrant to function.

$ gem install vagrant

$ vagrant box add lucid64 http://files.vagrantup.com/lucid64.box

$ mason stacks:create lucid64
* creating stack lucid64... done

$ mason stacks:up lucid64
* booting stack lucid64 (this may take a while)... done

$ mason:build /tmp/app -t tgz -o /tmp/compiled.tgz -s lucid64
* booting stack lucid64 (this may take a while)... done
* detecting buildpack... done
  = name: Baz
  = url: https://github.com/ddollar/buildpack-baz.git
* compiling...
... COMPILE OUTPUT
* packaging... done
  = type: tgz
  = dir: /tmp/compiled.tgz
Something went wrong with that request. Please try again.