I know this is not stackoverflow, but I followed the heroku deploy
from the wiki instructions and things snag on heroku:
...
-----> Heroku receiving push
-----> Git submodules detected, installing
Submodule 'ChicagoBoss' (
https://github.com/evanmiller/
ChicagoBoss.git) registered for path 'ChicagoBoss'
Initialized empty Git repository in /tmp/build_37d3ugitouton/
ChicagoBoss/.git/
Submodule path 'ChicagoBoss': checked out
'ca58fed7ebe7b556a03cb10e28e0ce20dca9ee76'
-----> Fetching custom buildpack... done
-----> Erlang app detected
-----> Building with Rebar
==> build_37d3ugitouton (get-deps)
==> build_37d3ugitouton (pre_compile)
ERROR: pre_compile failed while processing /tmp/
build_37d3ugitouton: {'EXIT',
{undef,
[{boss_rebar,all_ebin_dirs,
[[{boss,
[{path,"../ChicagoBoss"},
{vm_cookie,"abc123"},
{applications,[bb]},
{db_adapter,pgsql},
{db_host,"###.
amazonaws.com"},
{db_username,"###"},
{db_password,"###"},
{db_port,5502},
{db_database,"###"},
{log_dir,"log"},
{server,misultin},
{port,{env,"PORT"}},
{session_adapter,mock},
{session_key,"_boss_session"},
{session_exp_time,525600}]},
{bb,[{path,"../bb"},{base_url,"/"}]}],
"/tmp/build_37d3ugitouton/src/bb.app.src"]},
{boss_plugin,init,2},
{boss_plugin,pre_compile,2},
{rebar_core,run_modules,4},
{rebar_core,execute,4},
{rebar_core,process_dir0,6},
{rebar_core,process_commands,2},
{rebar,main,1}]}}
! Heroku push rejected, failed to compile Erlang app
...
I have a symlink of ChicagoBoss in my local ".." dir pointing to the
latest CB source, I can run tests and run dev fine, and as was asked,
I changed the path for production in boss.config to "..ChicagoBoss"
Any carbuncles in the output above which points to something I am
doing wrong? My Procfile looks like this:
...
web: ./init.sh start
...
And I didn't understand the wiki regarding run.sh nor renaming --
legacy?
Thanks!!