config/initializers will be executed, but only once, at boot time. Therefore, if you make changes to config/initializers while the console is running, you will not see the results of these changes.
Your best option is to stop and restart rails c
Also, if you use spring, which sometimes prevents reloading of modified initializers. in this case, do spring stop before restarting the console.
source share