Rails Application Template

Initialize the rails project with preloaded gems and configurations.
Icons/chart bar
Used 26 times
Created by
A Anbazhagan

Usage
When you initialize the rails project, you can pass the template file as option. So the template attached here will ask you question and intall the gem and necessary generators will run after that.

Run this command in your Rails app directory in the terminal:

rails app:template LOCATION="https://railsbytes.com/script/VZgsv8"
Template Source

Review the code before running this template on your machine.

`rails new blog -m cm-rails-template/template.rb`
Comments

Sign up or Login to leave a comment.