I need to add the pipeline
source file -> latex -> pdf file
to a rails app that I am working on and that is deployed at heroku (http://vschool.herokuapp.com). I've tried following the advice at
https://github.com/holiture/heroku-buildpack-tex
and also the further advice on using mutipacks, e.g., doing
$ heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git
after creating a file .buildpacks with contents
git://github.com/heroku/heroku-buildpack-python.git
git://github.com/holiture/heroku-buildpack-tex.git
git://github.com/heroku/heroku-buildpack-ruby.git
Here is what happens when I push:
$ git push heroku master
Counting objects: 11, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 480 bytes | 0 bytes/s, done.
Total 6 (delta 5), reused 0 (delta 0)
-----> Fetching custom git buildpack... done
! Push rejected, no Cedar-supported app detected
To git@heroku.com:vschool.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:vschool.git'
After this my app is hosed and I have to do this:
$ heroku config:unset BUILDPACK_URL
after which I am returned to a working state.
I must not have understood how to install multiple buildpacks. Any advice would be much appreciated.