Skip to content

Instantly share code, notes, and snippets.

@GooseNinja
Created May 31, 2014 15:08
Show Gist options
  • Save GooseNinja/9842329eae50af4565a4 to your computer and use it in GitHub Desktop.
Save GooseNinja/9842329eae50af4565a4 to your computer and use it in GitHub Desktop.
This is how I create a new Rails app
Start with
$ rails new some_app -d postgresql
Next I go to
./config/application.rb
and add the following
config.generators.stylesheets = false
config.generators.javascripts = false
config.generators.helper = false
Now my folders won't be filled with files I'm not going to use.
After that I initialize git and add
config/secrets.yml
to my .gitignore file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment