Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change the default gemfile created with 'rails new' command?

I have recently experienced an issue where I must add the following to my gemfile:

gem 'execjs'
gem 'therubyracer'

I must do this to avoid a javascript runtime error that occurs when starting the rails server. I would like to have this modification added to all new gemfiles created with the rails new command.

like image 638
Abram Avatar asked Dec 17 '11 22:12

Abram


1 Answers

You're looking for application templates.

like image 55
lucapette Avatar answered Sep 26 '22 14:09

lucapette