Fix gemfile detection

working_directory is a method, not a variable in this context and
requires an argument, which breaks the before_exec here.