alphagov / trade-tariff-backend

Enabling the population and distribution via API of UK Customs tariffs and duties
MIT License
7 stars 6 forks source link

Fix bundler audit in production #226

Closed bradwright closed 9 years ago

bradwright commented 9 years ago

When bundle exec rake runs it loads all of the rake tasks.

Because bundler-audit is only included in development and test environments, this causes all Rake tasks to fail on production.

Moving the require into the task fixes this.

cc @alext

macool commented 9 years ago

+1. didn't know about it