amatsuda/traceroute

Allow running in test environment

agrimm opened this issue · 1 comments

I'd like to be able to run traceroute in a CI environment. At one stage I tried doing this with

RAILS_ENV=development FAIL_ON_ERROR=1 bin/rake traceroute

but unfortunately that workaround isn't possible because unrelated issues prevent me from using the development on CI. Can you allow traceroute to be run when RAILS_ENV is test?

We run our CI with RAILS_ENV=test FAIL_ON_ERROR=1 bundle exec rake traceroute and it works fine. Not sure if this has changed in the gem, but it works for me (version 0.8.1, Rails 5.2).