No commit activity in last 3 years
No release in over 3 years
Load initializers depending on the environment
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

environment_initializers

Load initializers depending on the environment.

To use this gem, require it in config/environment.rb before the Rails initializers run.

This gem modifies initializer loading so that the following initalizers are loaded, in that order:

  1. config/initializers/*.rb
  2. config/initializers/<RAILS_ENV>/*.rb

Note that initializers in other subdirectories of config/initializers are NOT loaded.