# Lesser-Known Rails Command-Line Config File

DevFeed: [Lesser-Known Rails Command-Line Config File](<https://devfeed.tech/articles/lesser-known-rails-command-line-config-file-20064.md>)

Original publisher: [Read original article](<http://jollygoodcode.com/blog/2015/10/07/lesser-known-rails-command-line-config-file.html>)

Published: 2015-10-07T16:57:58Z

Content type: tutorial

Language: en

Sources: [Jolly Good Code](<https://devfeed.tech/sources/jolly-good-code.md>)

Topics: [Rails](<https://devfeed.tech/topics/rails.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [file](<https://devfeed.tech/topics/file.md>), [App](<https://devfeed.tech/topics/app.md>)

Tags: [application](<https://devfeed.tech/tags/application.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [config](<https://devfeed.tech/tags/config.md>), [file](<https://devfeed.tech/tags/file.md>), [introduced](<https://devfeed.tech/tags/introduced.md>), [rails](<https://devfeed.tech/tags/rails.md>)

## AI overview

This article explains that Rails 3.2 introduced the ~/.railsrc file, which lets developers specify default command-line options used when creating a new Rails application with rails new.

## Source excerpt

The file ~/.railsrc was introduced in Rails 3.2 in which you are able to specify default command-line options to be used every time when you create a new Rails application with rails new.