Looks like this might be specific to your own code base. You are using Settings constant somewhere and its not loaded in your initializers.
Find the file where Settings is defined, ideally should be settings.rb somewhere in your lib or config directory and load in the right place and you should be good. This is not a Rails bug and this group is for Rails bugs and contribution related discussions. So please you the rubyonrails-talk group, stackoverflow or irc for such questions Best, Rishav On Tue, Jan 12, 2016 at 7:06 AM, Mansi Pathak <[email protected]> wrote: > So I've been scouring the internet (i.e. Stackoverflow) looking for a fix > to this bug I keep getting. I wanted to see if you've seen this before or > had any ideas of what I should try. > > I'm working on getting a local dev environment setup, but keep getting an > error about "uninitialized constant Settings" when running the rake > commands below. Any thoughts? > > *Rake Commands:* > bundle exec rake db:migrate RAILS_ENV=development > bundle exec rake db:seed RAILS_ENV=development > > *Error Message:* > /Users/MansiPathak/.rbenv/versions/2.2.3/lib/ruby/gems/ > 2.2.0/gems/activesupport-3.2.12/lib/active_support/values/time_zone.rb:270: > warning: circular argument reference - now > > wcai-projects already exists > > rake aborted! > > uninitialized constant Settings > > /Users/MansiPathak/wcai-web/config/initializers/carrier_wave.rb:4:in > `block in <top (required)>' > > /Users/MansiPathak/wcai-web/config/initializers/carrier_wave.rb:1:in `<top > (required)>' > > /Users/MansiPathak/wcai-web/config/environment.rb:5:in `<top (required)>' > > Tasks: TOP => db:setup => db:schema:load_if_ruby => environment > > (See full trace by running task with --trace) > > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/rubyonrails-core. > For more options, visit https://groups.google.com/d/optout. > -- Rishav Rastogi Cell : +1 669 252 4808 Gtalk : rishav.rastogi Skype : rishavrastogi -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.
