Skip to content

Instantly share code, notes, and snippets.

@zbelzer
Created March 30, 2010 13:24
Show Gist options
  • Save zbelzer/349094 to your computer and use it in GitHub Desktop.
Save zbelzer/349094 to your computer and use it in GitHub Desktop.
/var/www/project/.bundle/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:440:in `load_missing_constant': uninitialized constant Delayed::Job (NameError)
from /var/www/project/.bundle/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:80:in `const_missing'
from /var/www/project/.bundle/gems/ts-delayed-delta-1.0.4/lib/thinking_sphinx/deltas/delayed_delta/job.rb:7
from /var/www/project/.bundle/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:156:in `require'
from /var/www/project/.bundle/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:156:in `require'
from /var/www/project/.bundle/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:521:in `new_constants_in'
from /var/www/project/.bundle/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:156:in `require'
from /var/www/project/.bundle/gems/ts-delayed-delta-1.0.4/lib/thinking_sphinx/deltas/delayed_delta.rb:5
from /var/www/project/.bundle/environment.rb:251:in `require'
from /var/www/project/.bundle/environment.rb:251:in `require'
from /var/www/project/.bundle/environment.rb:249:in `each'
from /var/www/project/.bundle/environment.rb:249:in `require'
from /var/www/project/.bundle/environment.rb:248:in `each'
from /var/www/project/.bundle/environment.rb:248:in `require'
from /var/www/project/config/boot.rb:121:in `load_environment'
from /var/www/project/.bundle/gems/rails-2.3.4/lib/initializer.rb:137:in `process'
from /var/www/project/.bundle/gems/rails-2.3.4/lib/initializer.rb:113:in `send'
from /var/www/project/.bundle/gems/rails-2.3.4/lib/initializer.rb:113:in `run'
from /var/www/project/config/environment.rb:24
from ./script/delayed_job:5:in `require'
from ./script/delayed_job:5
@patrickberkeley
Copy link

Did you find a fix for this?

@moneypools
Copy link

Yea, don't let bundler require ts for you, manually require it during the initialization phase. I put mine in initializers/delayed_job after I configure the backend. YMMV, but I hope it does the trick.

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