alco / porcelain

Work with external processes like a boss

Home Page:http://hexdocs.pm/porcelain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Porcelain with destillary

eidge opened this issue · comments

Hello I'm trying to produce a release with distillery with goon bundle in the release itself.

Since one can't use :code.priv_dir(:app) in config.exs, I tried adding this to my application bootstrap code:

Application.put_env(:porcelain, :goon_driver_path, Path.join(:code.priv_dir(:app), 'goon'))
:ok = Porcelain.reinit(:goon)

I've checked the correct path is being generated, but porcelain still complains it can't find goon.

Any ideas on how to solve this? Or any other strategy for bundling goon in the release itself?