ooops. sorry did nto realize my response got submitted way too many
times. i just kept hitting the reload button to see if there was a
response. :(

On Jan 30, 10:06 am, "tashfeen.ekram" <[email protected]>
wrote:
> lloks like the same trace...
>
> rake thinking_sphinx:app_env RAILS_ENV=production --trace
> (in /var/www/drugbin)
> DEPRECATION WARNING: Rake tasks in /var/www/drugbin/vendor/plugins/
> asset_packager/tasks/asset_packager_tasks.rake are deprecated. Use lib/
> tasks instead. (called from /var/www/drugbin/Rakefile:7)
> DEPRECATION WARNING: RAILS_ROOT is deprecated. Please
> use ::Rails.root.to_s. (called from /var/www/drugbin/vendor/plugins/
> asset_packager/tasks/../lib/synthesis/asset_package.rb:6)
> DEPRECATION WARNING: Rake tasks in /var/www/drugbin/vendor/plugins/
> jrails/tasks/jrails.rake are deprecated. Use lib/tasks instead.
> (called from /var/www/drugbin/Rakefile:7)
> DEPRECATION WARNING: Rake tasks in /var/www/drugbin/vendor/plugins/
> prawnto/tasks/prawnto_tasks.rake are deprecated. Use lib/tasks
> instead. (called from /var/www/drugbin/Rakefile:7)
> DEPRECATION WARNING: Rake tasks in /var/www/drugbin/vendor/plugins/
> recaptcha/tasks/recaptcha_tasks.rake are deprecated. Use lib/tasks
> instead. (called from /var/www/drugbin/Rakefile:7)
> DEPRECATION WARNING: Rake tasks in /var/www/drugbin/vendor/plugins/
> yaml_db/tasks/yaml_db_tasks.rake are deprecated. Use lib/tasks
> instead. (called from /var/www/drugbin/Rakefile:7)
> ** Invoke thinking_sphinx:app_env (first_time)
> ** Execute thinking_sphinx:app_env
> drug to prices
> rake aborted!
> Connection to 127.0.0.1 on 9312 failed. Connection refused -
> connect(2)
> /var/www/drugbin/ruby/1.8/gems/riddle-1.2.2/lib/riddle/client.rb:
> 563:in `initialise_socket'
> /var/www/drugbin/ruby/1.8/gems/riddle-1.2.2/lib/riddle/0.9.9/client.rb:
> 8:in `initialise_connection'
> /var/www/drugbin/ruby/1.8/gems/riddle-1.2.2/lib/riddle/client.rb:
> 486:in `open_socket'
> /var/www/drugbin/ruby/1.8/gems/riddle-1.2.2/lib/riddle/client.rb:
> 522:in `connect'
> /var/www/drugbin/ruby/1.8/gems/riddle-1.2.2/lib/riddle/client.rb:
> 582:in `request'
> /var/www/drugbin/ruby/1.8/gems/riddle-1.2.2/lib/riddle/client.rb:
> 221:in `run'
> /var/www/drugbin/ruby/1.8/gems/riddle-1.2.2/lib/riddle/client.rb:
> 328:in `query'
> /var/www/drugbin/ruby/1.8/gems/thinking-sphinx-2.0.2/lib/
> thinking_sphinx/search.rb:391
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> notifications.rb:52:in `instrument'
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> notifications/instrumenter.rb:21:in `instrument'
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> notifications.rb:52:in `instrument'
> /var/www/drugbin/ruby/1.8/gems/thinking-sphinx-2.0.2/lib/
> thinking_sphinx/search.rb:464:in `log'
> /var/www/drugbin/ruby/1.8/gems/thinking-sphinx-2.0.2/lib/
> thinking_sphinx/search.rb:472:in `log'
> /var/www/drugbin/ruby/1.8/gems/thinking-sphinx-2.0.2/lib/
> thinking_sphinx/search.rb:390
> /var/www/drugbin/ruby/1.8/gems/thinking-sphinx-2.0.2/lib/
> thinking_sphinx/search.rb:513:in `call'
> /var/www/drugbin/ruby/1.8/gems/thinking-sphinx-2.0.2/lib/
> thinking_sphinx/search.rb:513:in `retry_on_stale_index'
> /var/www/drugbin/ruby/1.8/gems/thinking-sphinx-2.0.2/lib/
> thinking_sphinx/search.rb:388:in `populate'
> /var/www/drugbin/ruby/1.8/gems/thinking-sphinx-2.0.2/lib/
> thinking_sphinx/search.rb:176:in `method_missing'
> /var/www/drugbin/app/runners/cron/drug_to_drugprice.rb:10
> /var/www/drugbin/app/runners/cron/drug_to_drugprice.rb:7:in `each'
> /var/www/drugbin/app/runners/cron/drug_to_drugprice.rb:7
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> dependencies.rb:239:in `require'
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> dependencies.rb:239:in `require'
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> dependencies.rb:227:in `load_dependency'
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> dependencies.rb:239:in `require'
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> dependencies.rb:346:in `require_or_load'
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> dependencies.rb:300:in `depend_on'
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> dependencies.rb:216:in `require_dependency'
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/engine.rb:
> 138:in `eager_load!'
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/engine.rb:
> 137:in `each'
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/engine.rb:
> 137:in `eager_load!'
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/engine.rb:
> 135:in `each'
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/engine.rb:
> 135:in `eager_load!'
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/application.rb:
> 108:in `eager_load!'
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/application/
> finisher.rb:41
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/
> initializable.rb:25:in `instance_exec'
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/
> initializable.rb:25:in `run'
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/
> initializable.rb:50:in `run_initializers'
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/
> initializable.rb:49:in `each'
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/
> initializable.rb:49:in `run_initializers'
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/application.rb:
> 134:in `initialize!'
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/application.rb:
> 77:in `send'
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/application.rb:
> 77:in `method_missing'
> /var/www/drugbin/config/environment.rb:5
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> dependencies.rb:239:in `require'
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> dependencies.rb:239:in `require'
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> dependencies.rb:225:in `load_dependency'
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> dependencies.rb:596:in `new_constants_in'
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> dependencies.rb:225:in `load_dependency'
> /var/www/drugbin/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/
> dependencies.rb:239:in `require'
> /var/www/drugbin/ruby/1.8/gems/railties-3.0.3/lib/rails/application.rb:
> 103:in `require_environment!'
> /var/www/drugbin/ruby/1.8/gems/thinking-sphinx-2.0.2/lib/
> thinking_sphinx/tasks.rb:7
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
> `execute'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
> `execute'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597: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.7/lib/rake.rb:590:in
> `invoke_with_call_chain'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in
> `invoke'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
> `invoke_task'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
> `top_level'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
> `each'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
> `top_level'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
> `standard_exception_handling'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
> `top_level'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
> `standard_exception_handling'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
> /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
> /usr/local/bin/rake:19:in `load'
> /usr/local/bin/rake:19
>
> On Jan 30, 9:25 am, Pat Allan <[email protected]> wrote:
>
> > What about when it's run with the production environment, with --trace?
>
> > --
> > Pat
>
> > On 31/01/2011, at 1:04 AM, "tashfeen.ekram" <[email protected]> 
> > wrote:
>
> > > Here is what i get:
>
> > > rake thinking_sphinx:app_env
>
> > > (in /var/www/drugbin)
> > > DEPRECATION WARNING: "Rails.root/test/mocks/development" won't be
> > > added automatically to load paths anymore in future releases. (called
> > > from /var/www/drugbin/Rakefile:7)
> > > DEPRECATION WARNING: Rake tasks in /var/www/drugbin/vendor/plugins/
> > > asset_packager/tasks/asset_packager_tasks.rake are deprecated. Use lib/
> > > tasks instead. (called from /var/www/drugbin/Rakefile:7)
> > > DEPRECATION WARNING: RAILS_ROOT is deprecated. Please
> > > use ::Rails.root.to_s. (called from /var/www/drugbin/vendor/plugins/
> > > asset_packager/tasks/../lib/synthesis/asset_package.rb:6)
> > > DEPRECATION WARNING: Rake tasks in /var/www/drugbin/vendor/plugins/
> > > jrails/tasks/jrails.rake are deprecated. Use lib/tasks instead.
> > > (called from /var/www/drugbin/Rakefile:7)
> > > DEPRECATION WARNING: Rake tasks in /var/www/drugbin/vendor/plugins/
> > > prawnto/tasks/prawnto_tasks.rake are deprecated. Use lib/tasks
> > > instead. (called from /var/www/drugbin/Rakefile:7)
> > > DEPRECATION WARNING: Rake tasks in /var/www/drugbin/vendor/plugins/
> > > recaptcha/tasks/recaptcha_tasks.rake are deprecated. Use lib/tasks
> > > instead. (called from /var/www/drugbin/Rakefile:7)
> > > DEPRECATION WARNING: Rake tasks in /var/www/drugbin/vendor/plugins/
> > > yaml_db/tasks/yaml_db_tasks.rake are deprecated. Use lib/tasks
> > > instead. (called from /var/www/drugbin/Rakefile:7)
>
> > > nothing else.... does that help?
>
> > > On Jan 30, 8:18 am, Pat Allan <[email protected]> wrote:
> > >> I wonder if it's something to do with how TS loads the Rails 
> > >> environment. What about the following rake task:
>
> > >>   rake thinking_sphinx:app_env
>
> > >> --
> > >> Pat
>
> > >> On 30/01/2011, at 1:44 PM, tashfeen.ekram wrote:
>
> > >>> here is application.rb:
>
> ...
>
> read more »

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to