GithubHelp home page GithubHelp logo

heroku-gsl-buildpack's Introduction

Heroku GSL Buildpack

A buildpack to install gsl on a heroku dyno.

This buildpack downloads a compiled version of GSL so that it can be used by any buildpack that comes after it in the buildpack chain.

Installation

Note : heroku multi buildpack used to be required, but it's no longer the case. Now heroku supports multiple buildpacks natively.

Add the buildpack to your application ; in the buildpack chain, it should appear before any other buildpack that may require it. Hence the --index=1 option :

heroku buildpacks:add https://github.com/nolman/heroku-gsl-buildpack.git --index=1

You can check that the buildpack chain is the right order with :

heroku buildpacks

1. https://github.com/nolman/heroku-gsl-buildpack.git
2. heroku/ruby

The buildpack can be used with another buildback than heroku/ruby, but if your aim is to make the gsl gem work on heroku, you can just add gem gsl to your Gemfile and you should now be able to deploy.

Compiling binaries on heroku

If you want to recompile a more recent/different version of gsl, you can find an example script that compiles binary from a source tar.gz here

This script relies on the fog gem to upload the binary, once compiled, to s3. You will need to add that dependency to your Gemfile. You will also need to set an ENV var for your AWS key and secret.

Known issues

Only supports the 1.16 GSL release. Cannot set the AWS Bucket to download dependencies via an env var.

Pull requests welcome.

heroku-gsl-buildpack's People

Contributors

bentalagan avatar nolman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.