|
|
|
Add these files to your .gitignore:
|
|
|
|
|
|
|
|
```
|
|
|
|
.htaccess
|
|
|
|
public/.htaccess
|
|
|
|
.env.production
|
|
|
|
```
|
|
|
|
|
|
|
|
* If you have previously committed a .htaccess to set `RailsEnv development`, `git mv .htaccess .htaccess.development` and commit prior to adding the .htaccess to .gitignore. Then you can `cp .htaccess.development .htaccess` in your sandbox while developing
|
|
|
|
* If you had previously committed a public/.htaccess to handle the root redirect passenger bug (instead of using a public/index.html file), `git mv public/.htaccess public/.htaccess.passenger_fix` prior to adding `public/.htaccess` to gitignore. You can then `cp public/.htaccess.passenger_fix public/.htaccess` for development purposes. Note when sharing an app **`public/.htaccess.passenger_fix`** will be auto-merged with the production `public/.htaccess` if it exists. |