Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (16 sloc) 0.592 kb
gsub_file 'config/application.rb', /require 'rails\/all'/ do
<<-RUBY
# Pick the frameworks you want:
require 'action_controller/railtie'
require 'dm-rails/railtie'
# require 'action_mailer/railtie'
# require 'active_resource/railtie'
# require 'rails/test_unit/railtie'
RUBY
end
gsub_file 'config/environments/development.rb', /config.action_mailer.raise_delivery_errors = false/ do
"# config.action_mailer.raise_delivery_errors = false"
end
gsub_file 'config/environments/test.rb', /config.action_mailer.delivery_method = :test/ do
"# config.action_mailer.delivery_method = :test"
end
Jump to Line
Something went wrong with that request. Please try again.