Rakefile in errbit_cloudfuji-0.1.0 vs Rakefile in errbit_cloudfuji-0.1.1
- old
+ new
@@ -1,27 +1,4 @@
#!/usr/bin/env rake
-begin
- require 'bundler/setup'
-rescue LoadError
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
-end
-Bundler.require :default, :development
-
-task :environment do
- Combustion.initialize!
-end
-Combustion::Application.load_tasks
-
-class Combustion::Application
- # Add migrations from all engines
- Railties.engines.each do |engine|
- config.paths['db/migrate'] += engine.paths['db/migrate'].existent
- end
-end
-
-desc 'Default: run spec tests.'
-task :default => :spec
-
-# Let Combustion handle database preparation
-Rake::Task["spec"].prerequisites.clear
+require 'rake'
Bundler::GemHelper.install_tasks