<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">its been two days that i am struggling with this error. i have followed all the instructions in <a href="http://backgroundrb.rubyforge.org/">http://backgroundrb.rubyforge.org</a>.<br><br>when i start the server i get the following error<br><br> 1. /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- task_alert_worker (LoadError)<br> 2. from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `require'<br> 3. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/packet_worker_runner:35:in `load_worker'<br> 4. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/packet_worker_runner:26:in `initialize'<br> 5. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/packet_worker_runner:47:in `new'<br> 6. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/packet_worker_runner:47<br> 7. from /opt/local/bin/packet_worker_runner:19:in `load'<br> 8. from /opt/local/bin/packet_worker_runner:19<br> 9. /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- task_alert_worker (LoadError)<br> 10. from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in `require'<br> 11. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/packet_worker_runner:35:in `load_worker'<br> 12. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/packet_worker_runner:26:in `initialize'<br> 13. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/packet_worker_runner:47:in `new'<br> 14. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/packet_worker_runner:47<br> 15. from /opt/local/bin/packet_worker_runner:19:in `load'<br> 16. from /opt/local/bin/packet_worker_runner:19<br><br><br><br>somewhere i read that this can be fixed by rolling back the packet gem to version 0.1.5. it did fix the start up problem but then when i call a worker from the console i get the following error which i guess has to do with the dependency.<br><br> 1. /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:279:in `load_missing_constant': uninitialized constant Packet::BinParser (NameError)<br> 2. from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/dependencies.rb:468:in `const_missing'<br> 3. from /Users/aslan/Documents/Aptana Studio/play/vendor/plugins/backgroundrb/server/lib/master_worker.rb:165:in `post_init'<br> 4. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_connection.rb:21:in `invoke_init'<br> 5. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:302:in `decorate_handler'<br> 6. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:76:in `accept_connection'<br> 7. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:202:in `handle_external_messages'<br> 8. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:178:in `handle_read_event'<br> 9. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in `each'<br> 10. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in `handle_read_event'<br> 11. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:130:in `start_reactor'<br> 12. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in `loop'<br> 13. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in `start_reactor'<br> 14. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:21:in `run'<br> 15. from /Users/aslan/Documents/Aptana Studio/play/vendor/plugins/backgroundrb/server/lib/master_proxy.rb:14:in `initialize'<br> 16. from /Users/aslan/Documents/Aptana Studio/play/vendor/plugins/backgroundrb/lib/backgroundrb/bdrb_start_stop.rb:50:in `new'<br> 17. from /Users/aslan/Documents/Aptana Studio/play/vendor/plugins/backgroundrb/lib/backgroundrb/bdrb_start_stop.rb:50:in `start'<br> 18. from ./script/backgroundrb:35<br> 19. /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:25:in `read_data': Packet::DisconnectError (Packet::DisconnectError)<br> 20. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_worker.rb:46:in `handle_internal_messages'<br> 21. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:176:in `handle_read_event'<br> 22. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in `each'<br> 23. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in `handle_read_event'<br> 24. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:130:in `start_reactor'<br> 25. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in `loop'<br> 26. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in `start_reactor'<br> 27. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_worker.rb:20:in `start_worker'<br> 28. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:133:in `fork_and_load'<br> 29. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:96:in `load_workers'<br> 30. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:91:in `each'<br> 31. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:91:in `load_workers'<br> 32. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:20:in `run'<br> 33. from /Users/aslan/Documents/Aptana Studio/play/vendor/plugins/backgroundrb/server/lib/master_proxy.rb:14:in `initialize'<br> 34. from /Users/aslan/Documents/Aptana Studio/play/vendor/plugins/backgroundrb/lib/backgroundrb/bdrb_start_stop.rb:50:in `new'<br> 35. from /Users/aslan/Documents/Aptana Studio/play/vendor/plugins/backgroundrb/lib/backgroundrb/bdrb_start_stop.rb:50:in `start'<br> 36. from ./script/backgroundrb:35<br> 37. /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:25:in `read_data': Packet::DisconnectError (Packet::DisconnectError)<br> 38. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_worker.rb:46:in `handle_internal_messages'<br> 39. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:176:in `handle_read_event'<br> 40. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in `each'<br> 41. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in `handle_read_event'<br> 42. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:130:in `start_reactor'<br> 43. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in `loop'<br> 44. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in `start_reactor'<br> 45. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_worker.rb:20:in `start_worker'<br> 46. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:133:in `fork_and_load'<br> 47. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:108:in `start_worker'<br> 48. from /Users/aslan/Documents/Aptana Studio/play/vendor/plugins/backgroundrb/server/lib/master_proxy.rb:16:in `initialize'<br> 49. from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:19:in `run'<br> 50. from /Users/aslan/Documents/Aptana Studio/play/vendor/plugins/backgroundrb/server/lib/master_proxy.rb:14:in `initialize'<br> 51. from /Users/aslan/Documents/Aptana Studio/play/vendor/plugins/backgroundrb/lib/backgroundrb/bdrb_start_stop.rb:50:in `new'<br> 52. from /Users/aslan/Documents/Aptana Studio/play/vendor/plugins/backgroundrb/lib/backgroundrb/bdrb_start_stop.rb:50:in `start'<br> 53. from ./script/backgroundrb:35<br><br><br>i am running os x.<br>my gem versions :<br>*** LOCAL GEMS ***<br><br>actionmailer (2.1.1, 1.3.5)<br>actionpack (2.1.1, 1.13.5)<br>actionwebservice (1.2.5)<br>activerecord (2.1.1, 1.15.5)<br>activeresource (2.1.1)<br>activesupport (2.1.1, 1.4.4)<br>arrayfields (4.6.0)<br>capistrano (2.5.0)<br>capistrano-ext (1.2.1)<br>cgi_multipart_eof_fix (2.5.0)<br>cheat (1.2.1)<br>chronic (0.2.3)<br>daemons (1.0.10)<br>eventmachine (0.12.2)<br>fastercsv (1.4.0)<br>fastthread (1.0.1)<br>fattr (1.0.3)<br>gem_plugin (0.2.3)<br>git (1.0.5)<br>git-rails (0.2.1)<br>highline (1.4.0)<br>hoe (1.7.0)<br>hpricot (0.6.161)<br>libxml-ruby (0.8.3)<br>main (2.8.2)<br>memcache-client (1.5.0)<br>mongrel (1.1.5)<br>mysql (2.7)<br>net-scp (1.0.1)<br>net-sftp (2.0.1)<br>net-ssh (2.0.4)<br>net-ssh-gateway (1.0.0)<br>packet (0.1.14)<br>rails (2.1.1, 1.2.5)<br>rake (0.8.3)<br>rubyforge (1.0.0)<br>starling (0.9.8)<br>SyslogLogger (1.4.0)<br>ZenTest (3.10.0)<br><br><div>by the way every time i changed something i removed ./script/load_worker_env.rb and ./script/backgroundrb and ran</div><div>rake backgroundrb:setup<br><br>how can i fix this problem.<br><br>aslan</div></body></html>