Skip to content

Instantly share code, notes, and snippets.

@xrd
Created January 13, 2011 09:57
Show Gist options
  • Save xrd/777648 to your computer and use it in GitHub Desktop.
Save xrd/777648 to your computer and use it in GitHub Desktop.
outreach@woven-live:~/Outreach/live-manager$ rake db:migrate --trace
(in /home/outreach/Outreach/live-manager)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
uninitialized constant I18n::Backend::Fallbacks
/home/outreach/Outreach/live-manager/vendor/rails/activesupport/lib/active_support/dependencies.rb:440:in `rescue in load_missing_constant'
/home/outreach/Outreach/live-manager/vendor/rails/activesupport/lib/active_support/dependencies.rb:436:in `load_missing_constant'
/home/outreach/Outreach/live-manager/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing_with_dependencies'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/faker-0.9.4/lib/faker.rb:4:in `<top (required)>'
<internal:lib/rubygems/custom_require>:29:in `require'
<internal:lib/rubygems/custom_require>:29:in `require'
/home/outreach/Outreach/live-manager/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `block in require'
/home/outreach/Outreach/live-manager/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/home/outreach/Outreach/live-manager/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/home/outreach/Outreach/live-manager/vendor/rails/railties/lib/rails/gem_dependency.rb:179:in `load'
/home/outreach/Outreach/live-manager/vendor/rails/railties/lib/initializer.rb:305:in `block in load_gems'
/home/outreach/Outreach/live-manager/vendor/rails/railties/lib/initializer.rb:305:in `each'
/home/outreach/Outreach/live-manager/vendor/rails/railties/lib/initializer.rb:305:in `load_gems'
/home/outreach/Outreach/live-manager/vendor/rails/railties/lib/initializer.rb:162:in `process'
/home/outreach/Outreach/live-manager/vendor/rails/railties/lib/initializer.rb:113:in `run'
/home/outreach/Outreach/live-manager/config/environment.rb:13:in `<top (required)>'
<internal:lib/rubygems/custom_require>:29:in `require'
<internal:lib/rubygems/custom_require>:29:in `require'
/home/outreach/Outreach/live-manager/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `block in require'
/home/outreach/Outreach/live-manager/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in `new_constants_in'
/home/outreach/Outreach/live-manager/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in `require'
/home/outreach/Outreach/live-manager/vendor/rails/railties/lib/tasks/misc.rake:4:in `block in <top (required)>'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:636:in `block in execute'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:597:in `block in invoke_with_call_chain'
/home/outreach/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:607:in `block in invoke_prerequisites'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:596:in `block in invoke_with_call_chain'
/home/outreach/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2029:in `block (2 levels) in top_level'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2029:in `block in top_level'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2001:in `block in run'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/bin/rake:31:in `<top (required)>'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/bin/rake:19:in `load'
/home/outreach/.rvm/gems/ruby-1.9.2-p136/bin/rake:19:in `<main>'
@cmeiklejohn
Copy link

Did you ever get this resolved?

@xrd
Copy link
Author

xrd commented Jan 28, 2011

I think I just switched to ruby 1.8.7 and it was resolved. I cannot remember honestly.

@cmeiklejohn
Copy link

I found the problem for me; had to fall back to faker 0.3.1 because 0.9.4 was causing all sorts of problems with rails 2.

@rapbhan
Copy link

rapbhan commented Feb 21, 2011

Thank you! you saved my day! I too restored the faker to 0.3.1 and it worked like a charm :-) Thanks!

@cmeiklejohn
Copy link

:) Glad I could help!

@jeffkreeftmeijer
Copy link

Thanks, I'm working on a legacy app and somebody updated Faker. 0.3.1 is fine. :)

@cmeiklejohn
Copy link

Glad this thread could be so helpful!

@grilix
Copy link

grilix commented Feb 25, 2011

worked for me, thank you. :)

@ognevsky
Copy link

ognevsky commented Mar 4, 2011

Work for me, thanks a lot! Faker is really fucker this time ;)

@paulccarey
Copy link

me 5 thanks a tonne!

@tugboat
Copy link

tugboat commented Apr 21, 2011

Worked for me too. You guys saved me from going crazy! Much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment