Rakefile 499 B

1234567891011121314151617181920212223
  1. begin
  2. require 'bundler/setup'
  3. rescue LoadError
  4. puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
  5. end
  6. require 'rdoc/task'
  7. RDoc::Task.new(:rdoc) do |rdoc|
  8. rdoc.rdoc_dir = 'rdoc'
  9. rdoc.title = 'ChinaCity'
  10. rdoc.options << '--line-numbers'
  11. rdoc.rdoc_files.include('README.rdoc')
  12. rdoc.rdoc_files.include('lib/**/*.rb')
  13. end
  14. APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
  15. load 'rails/tasks/engine.rake'
  16. Bundler::GemHelper.install_tasks