Introducing rails_env_local
“development” is not always the best name for the local environment rails_env_local, where a rails environment for local development can be anything it desires. Even a butterfly. Tell your DevOps friends.
Rails Guides has more information on the Rails initialization routines. You can easily accomplish what this gem does in a few lines of code.
… But are you going to write specs for code in your config/boot.rb file? Really?