generate path from the path of __FILE__, not from process's cwd
add Gemfile for tests