R
R
RailsPack2015-03-21 09:20:35
Ruby on Rails
RailsPack, 2015-03-21 09:20:35

How to change the default Rails application template configuration?

I want the Gems I need to be installed when creating a new Rails project, and as a standard Slim template engine, not erb - how can this be done?
At the moment, I have to configure the Gemfile to install the necessary gems via bundle install, after which everything seems to be ok (when creating a new controller, the files contain the Slim extension in views, but in layouts instead of application.slim there is a standard application.html.erb What settings are used by Rails when a new application is created, obviously by some standard gem file.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Viktor Vsk, 2015-03-21
@viktorvsk

Something like this:
guides.rubyonrails.org/rails_application_templates.html
rusrails.ru/generators

E
Eugene Burmakin, 2015-03-21
@Freika

railsbricks.net is nothing like a template, but I used it and stopped, well, it. It's better to know what's inside right away.

I
Ilya Bondarenko, 2015-03-27
@bondarenko

Convenient interactive rails application template.
If not satisfied, then there is a choice

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question