I need to install the GSL library on Heroku running a Rails (4.0.2) app to use some gems who depends on this.
Goal:Install the GSL library to work with GSL and Similarity gems on Heroku.
I also tried with the following workflow (compiling binaries):
- GSL 1.15 downloaded from ftp://ftp.gnu.org/gnu/gsl/gsl-1.15.tar.gz
- Uncompressed and
sudo make install
This works on my local environment but not on Heroku. Heroku doesn't allow
sudo but it does allow access with
heroku run. The problem here is that the file system is ephemeral and the dyno itself will only live as long as your console session.
I've also tried building my own Heroku Buildpack but I couldn't make it work. I tried using multipacks. I'm not a expert with Heroku Buildpack so maybe this is my problem, I'm learning more about it to make a simple repository with an example and an extended explanation of this issue.