adds better erros and binding of caller to gemfile