Parser gem required in Gemfile
plindsayaltrio opened this issue · comments
I was wondering why auto instruments wasn't working and it was because of the changes made in this PR.
#440
This PR checks whether Parser::TreeRewriter
is defined and bails out early if it isn't.
The problem is for applications that do not explicitly include parser
in there Gemfile it will not yet be defined and will never reach the codepath where Scout requires it
The workaround is to explicitly add parser
to the application Gemfile. Recommend updating docs to include this or reverting/changing the above PR.
We have the same issue.