Sha256: b4b276232f02413a5c09bbee85e6bd391eb11e6d68907ba69901c257fd61dbee

Contents?: true

Size: 704 Bytes

Versions: 51

Compression:

Stored size: 704 Bytes

Contents

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

require 'rdoc/task'

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = '<%= camelized_modules %>'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.md')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

<% if engine? && !options[:skip_active_record] && with_dummy_app? -%>
APP_RAKEFILE = File.expand_path("../<%= dummy_path -%>/Rakefile", __FILE__)
load 'rails/tasks/engine.rake'
<% end %>

<% if engine? -%>
load 'rails/tasks/statistics.rake'
<% end %>

<% unless options[:skip_gemspec] -%>

require 'bundler/gem_tasks'
<% end %>

Version data entries

51 entries across 51 versions & 4 rubygems

Version Path
railties-5.1.7 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.1.7.rc1 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.1.6.2 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.0.7.2 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.1.6.1 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.0.7.1 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.1.6 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.0.7 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.1.5 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.1.5.rc1 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.1.4 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.0.6 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.1.4.rc1 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.0.6.rc1 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.1.3 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.1.3.rc3 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.0.5 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.0.5.rc2 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.1.3.rc2 lib/rails/generators/rails/plugin/templates/Rakefile
railties-5.0.5.rc1 lib/rails/generators/rails/plugin/templates/Rakefile