Skip to content

Commit

Permalink
add configuration hint for exrm/distillery releases
Browse files Browse the repository at this point in the history
  • Loading branch information
gutschilla committed Aug 30, 2016
1 parent da8beda commit ba93ab4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,25 @@ config :pdf_generator,

For more info, read the [docs on hex](http://hexdocs.pm/pdf_generator) or issue
`h PdfGenerator` in your iex shell.

# Common issues

## Running from within distillery or exrm releases

**ERROR**

`(UndefinedFunctionError) function Misc.Random.string/0 is undefined (module Misc.Random is not available)`

**FIX**

For now, unfortunately, it's required to add `misc_ramdom` to either your
`included_applications` section in your `mix.exs` (exrm) or for (distillery) add
it to your release/applications list in `rel/config.exs`.

```
...
release :your_app do
set version: current_version(:your_app)
set applications: [:misc_random]
end
```

0 comments on commit ba93ab4

Please sign in to comment.