namespace :css do
  desc "Generate styleguide"
  task :styleguide do
    puts "--> creating styleguide"
    Bundler.clean_system('bin/dress_code config/styleguide.yml')
    raise "error running dress_code" unless $?.success?
  end
end

namespace :css do
  desc "Generate styleguide"
  task :styleguide do
    puts "--> creating styleguide"
    system('bin/dress_code config/styleguide.yml')
    raise "error running dress_code" unless $?.success?
  end
end

Use `system` instead of `Bundler.clean_system` for dress_code
Use `system` instead of `Bundler.clean_system` for dress_code

Bundler.clean_system doesnt have BUNDLE_PATH set correctly

Change-Id: Ib2760786e5dfbc7909f55ddd5f401a96fcf2a430
Reviewed-on: https://gerrit.instructure.com/71927
Reviewed-by: Tyler Pickett <3f20fcf21b1970c94966160adcf831eedd808a06@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <9adc7a1161ddf32ff608de792a7e50179545f026@instructure.com>
Product-Review: Brad Horrocks <7b5c5d1f2eba6c540b8e53f17d87a9bd7dbf604b@instructure.com>
