Closed technicalpickles closed 6 months ago
Looks like the default is to write to a GZIP, ie https://github.com/jhawthorn/vernier/blob/f8976625d7b5cfeeddb8471750f1ca93cf10d5aa/lib/vernier/autorun.rb#L32-L33
I found that you can set options via environment variables https://github.com/jhawthorn/vernier/blob/f8976625d7b5cfeeddb8471750f1ca93cf10d5aa/lib/vernier/autorun.rb#L12-L16
I was able to get it working by setting VERNIER_OUTPUT
, ie VERNIER_OUTPUT=tmp/vernier.json.gz DISABLE_SPRING=1 bundle exec vernier run -- bundle exec rails runner true
When profiling our app's boot-time, I typically use
rails runner true
as a gauge. I'm trying to run that withvernier run
, but seeing errors:I also tried
DISABLE_SPRING=1 bundle exec vernier run -- bundle exec rails runner true
to bundle exec it, with the same errorDetails