Sha256: e26c03435994104b034b8fb3d633896c96e4244daaa0039e3da693f1c5edb42a
Contents?: true
Size: 708 Bytes
Versions: 11
Compression:
Stored size: 708 Bytes
Contents
puts "Adding generators... ".magenta generators = <<GENERATORS # Do not generate specs for views and requests. Also, do not generate assets. config.generators do |g| g.helper false g.view_specs false g.assets false g.integration_tool false end config.app_generators do |g| g.test_framework :rspec end # Prevent initializing your application and connect to the database on assets precompile. config.assets.initialize_on_precompile = false GENERATORS in_root do inject_into_file 'config/application.rb', generators, {after: "Rails::Application", verbose: false} end git :add => 'config/application.rb' git :commit => "-qm 'Adding generators.'"
Version data entries
11 entries across 11 versions & 1 rubygems