lib/suspenders/app_builder.rb in welaika-suspenders-2.2.1 vs lib/suspenders/app_builder.rb in welaika-suspenders-2.3.0
- old
+ new
@@ -166,10 +166,14 @@
def set_ruby_to_version_being_used
create_file '.ruby-version', "#{Suspenders::RUBY_VERSION}\n"
end
+ def create_ruby_gemset_file
+ create_file '.ruby-gemset', "#{app_name}\n"
+ end
+
def setup_heroku_specific_gems
inject_into_file 'Gemfile', "\n\s\sgem 'rails_12factor'",
after: /group :staging, :production do/
end
@@ -229,9 +233,13 @@
template "config_locales_en.yml.erb", "config/locales/en.yml"
end
def configure_rack_timeout
copy_file 'rack_timeout.rb', 'config/initializers/rack_timeout.rb'
+ end
+
+ def configure_slim
+ copy_file 'slim.rb', 'config/initializers/slim.rb'
end
def configure_action_mailer
action_mailer_host 'development', "localhost:#{port_number}"
action_mailer_host 'test', 'www.example.com'