Hi All,

I am using the edge (as of a few days ago) version of Radiant...I know
caveat emptor.

I just installed the SphinxSearch extension and any rake tasks I try
to run (in this case radiant:extensions:sphinx_search:migrate) are now
fail stating "uninitialized constant ActiveSupport::Notifications".
Using --trace reveals that it's loading ActiveSupport 3.0.3.

The trace is below (sorry, it's huge). I confess I am a little weak in
my understanding of how Rails finds its dependencies, but Radiant is
frozen to 2.3.8, correct? So I am a little stumped on how this could
be happening.

Thanks, Todd.

The trace...

$ rake production radiant:extensions:sphinx_search:migrate --trace
(in /var/www/mysite)
** Invoke production (first_time)
** Execute production
** Invoke environment (first_time)
** Execute environment
rake aborted!
uninitialized constant ActiveSupport::Notifications
/var/www/mysite/vendor/radiant/vendor/rails/activesupport/lib/
active_support/dependencies.rb:440:in `load_missing_constant'
/var/www/mysite/vendor/radiant/vendor/rails/activesupport/lib/
active_support/dependencies.rb:80:in `const_missing'
/usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/
active_support/log_subscriber.rb:59:in `attach_to'
/usr/local/lib/ruby/gems/1.8/gems/thinking-sphinx-2.0.1/lib/
thinking_sphinx/active_record/log_subscriber.rb:58
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
/var/www/mysite/vendor/radiant/vendor/rails/activesupport/lib/
active_support/dependencies.rb:158:in `require'
/usr/local/lib/ruby/gems/1.8/gems/thinking-sphinx-2.0.1/lib/
thinking_sphinx/active_record.rb:4
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
/var/www/mysite/vendor/radiant/vendor/rails/activesupport/lib/
active_support/dependencies.rb:158:in `require'
/usr/local/lib/ruby/gems/1.8/gems/thinking-sphinx-2.0.1/lib/
thinking_sphinx.rb:9
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
/var/www/mysite/vendor/radiant/vendor/rails/activesupport/lib/
active_support/dependencies.rb:158:in `require'
/usr/local/lib/ruby/gems/1.8/gems/radiant-sphinx_search-
extension-0.9.4/lib/sphinx_search/page_extensions.rb:1
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
/var/www/mysite/vendor/radiant/vendor/rails/activesupport/lib/
active_support/dependencies.rb:158:in `require'
/var/www/mysite/vendor/radiant/vendor/rails/activesupport/lib/
active_support/dependencies.rb:265:in `require_or_load'
/var/www/mysite/vendor/radiant/vendor/rails/activesupport/lib/
active_support/dependencies.rb:425:in `load_missing_constant'
/var/www/mysite/vendor/radiant/vendor/rails/activesupport/lib/
active_support/dependencies.rb:80:in `const_missing'
/usr/local/lib/ruby/gems/1.8/gems/radiant-sphinx_search-
extension-0.9.4/sphinx_search_extension.rb:7:in `activate'
/var/www/mysite/vendor/radiant/lib/radiant/extension.rb:92:in
`activate'
/var/www/mysite/vendor/radiant/vendor/rails/actionpack/lib/
action_controller/routing/route.rb:205:in `to_proc'
/var/www/mysite/vendor/radiant/lib/radiant/extension_loader.rb:110:in
`each'
/var/www/mysite/vendor/radiant/lib/radiant/extension_loader.rb:110:in
`activate_extensions'
/var/www/mysite/vendor/radiant/lib/radiant/initializer.rb:245:in
`after_initialize'
/var/www/mysite/vendor/radiant/vendor/rails/railties/lib/
initializer.rb:179:in `process'
/var/www/mysite/vendor/radiant/vendor/rails/railties/lib/
initializer.rb:113:in `send'
/var/www/mysite/vendor/radiant/vendor/rails/railties/lib/
initializer.rb:113:in `run'
/var/www/mysite/vendor/radiant/lib/radiant/initializer.rb:187:in `run'
/var/www/mysite/config/environment.rb:12
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
/var/www/mysite/vendor/radiant/vendor/rails/activesupport/lib/
active_support/dependencies.rb:156:in `require'
/var/www/mysite/vendor/radiant/vendor/rails/activesupport/lib/
active_support/dependencies.rb:521:in `new_constants_in'
/var/www/mysite/vendor/radiant/vendor/rails/activesupport/lib/
active_support/dependencies.rb:156:in `require'
/var/www/mysite/vendor/radiant/vendor/rails/railties/lib/tasks/
misc.rake:4
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in
`execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in
`execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:578:in
`invoke_with_call_chain'
/usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:571:in
`invoke_with_call_chain'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:564:in
`invoke'
/var/www/mysite/vendor/radiant/lib/tasks/environments.rake:10
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in
`execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in
`execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:578:in
`invoke_with_call_chain'
/usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:571:in
`invoke_with_call_chain'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:564:in
`invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2027:in
`invoke_task'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in
`top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in
`each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2005:in
`top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in
`standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1999:in
`top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1977:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2044:in
`standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:1974:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake:31
/usr/local/bin/rake:19:in `load'
/usr/local/bin/rake:19

Reply via email to