Skip to content

Instantly share code, notes, and snippets.

@wsmoak
Created July 2, 2015 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wsmoak/4d034431a9b4907ea8f1 to your computer and use it in GitHub Desktop.
Save wsmoak/4d034431a9b4907ea8f1 to your computer and use it in GitHub Desktop.
phoenix heroku troubleshooting
$ git push heroku master
Counting objects: 57, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (51/51), done.
Writing objects: 100% (57/57), 48.86 KiB | 0 bytes/s, done.
Total 57 (delta 1), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Fetching custom git buildpack... done
remote: -----> elixir app detected
remote: -----> Checking Erlang and Elixir versions
remote: Will use the following versions:
remote: * Stack cedar-14
remote: * Erlang 17.2
remote: * Elixir 1.0.1
remote: Will export the following config vars:
remote: * Config vars DATABASE_URL
remote: * MIX_ENV=prod
remote: -----> Stack changed, will rebuild
remote: -----> Cleaning all cache to force rebuilds
remote: -----> Fetching Erlang 17.2
remote: -----> Installing Erlang 17.2 (changed)
remote:
remote: -----> Fetching Elixir v1.0.1
remote: -----> Installing Elixir v1.0.1 (changed)
remote: -----> Installing Hex
remote: 2015-07-02 13:09:28 URL:https://s3.amazonaws.com/s3.hex.pm/installs/1.0.0/hex.ez [262010/262010] -> "/app/.mix/archives/hex.ez" [1]
remote: * creating .mix/archives/hex.ez
remote: -----> Installing rebar
remote: * creating .mix/rebar
remote: -----> Fetching app dependencies with mix
remote: ** (Mix.Config.LoadError) could not load config config/prod.secret.exs
remote: ** (Code.LoadError) could not load /tmp/build_5d3149f29fefc2b149b891a746be5501/config/prod.secret.exs
remote: (mix) lib/mix/config.ex:141: Mix.Config.read!/1
remote: (mix) lib/mix/config.ex:153: anonymous fn/2 in Mix.Config.read_wildcard!/2
remote: (elixir) lib/enum.ex:1261: Enum."-reduce/3-lists^foldl/2-0-"/3
remote: (stdlib) erl_eval.erl:657: :erl_eval.do_apply/6
remote: (stdlib) erl_eval.erl:441: :erl_eval.expr/5
remote: (elixir) lib/code.ex:140: Code.eval_string/3
remote:
remote:
remote: ! Push rejected, failed to compile elixir app
remote:
remote: Verifying deploy....
remote:
remote: ! Push rejected to phoenix-heroku-wsmoak.
remote:
To git@heroku.com:phoenix-heroku-wsmoak.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:phoenix-heroku-wsmoak.git'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment