catch and return exceptions to erlang
redirect stderr from ruby depsolver to /dev/null