Skip to content

StateAndPlain/heroku-gdbm-buildpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Heroku buildpack: gdbm

This is a Heroku buildpack that vendors gdbm.

It is meant to be used in conjunction with other buildpacks as part of a multi-buildpack.

Structure and code shamelessly copied from heroku-geo-buildpack.

Usage

Example usage:

$ heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git

$ cat .buildpacks
https://github.com/StateAndPlain/heroku-gdbm-buildpack.git#v3
https://github.com/heroku/heroku-buildpack-ruby.git#v129

Don't forget to pin buildpack versions you want to use in your .buildpacks file.

Testing

>>> require 'gdbm'
=> true

Build Notes

The built-on-cedar-14 binaries that are downloaded by this buildpack, and live on s3, were created by the following, more or less:

  • create a dummy cedar-14 heroku app and run bash on it with heroku run bash
  • wget gdbm.tgz ; tar -zxf gdbm.tgz ; cd gdbm
  • ./configure --prefix=/app/vendor/gdbm/1.11 ; make ; make install
  • cd /app/vendor/gdbm/1.11 ; tar -czf ~/gdbm-1.11.tgz bin lib include

About

Adds GDBM libs to Heroku Cedar

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages