Elixir for Programmers, Second Edition (video course) (self-published)

I had the same issue today, and fixed it like this:

"#{Path.expand(__DIR__)}/../assets/words.txt"

This gets interpolated to /home/rahim/…/dictionary/assets/words.txt