jejacks0n/navigasmic

View on GitHub
Rakefile

Summary

Maintainability
Test Coverage
begin
  require "bundler/setup"
rescue LoadError
  puts "You must `gem install bundler` and `bundle install` to run rake tasks"
end

# setup the dummy app
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
load "rails/tasks/engine.rake"

# useful bundler gem tasks
Bundler::GemHelper.install_tasks

# load in rspec tasks
load "rspec/rails/tasks/rspec.rake"

# setup the default task
Rake::Task["default"].prerequisites.clear
Rake::Task["default"].clear
task default: [:spec]