I updated mine .rvmrc from ruby-1.9.2-p290 to ruby-1.9.3-p125 and outputuninitialized constant Settings
.rvmrc
ruby-1.9.2-p290
ruby-1.9.3-p125
uninitialized constant Settings
config/initializers/rails_config.rb
RailsConfig.setup do |config| config.const_name = "Settings" end
Any idea?
I got the same error when I ran the old code check on ruby 1.9.2 with ruby 1.9.3, updating the rails_config gem to the latest version fixed it for me.
bundle update --source rails_config
You can try this:
ActiveSupport.on_load :before_configuration, :yield => true do RailsConfig.setup do |config| config.const_name = "Settings" end end