Permalink
Browse files

fix master proxy loading error

  • Loading branch information...
1 parent 6e3e688 commit b25737c5e5e7279122aa29eddafd1a3d96c0b3a1 @gnufied committed Apr 22, 2009
Showing with 13 additions and 0 deletions.
  1. +13 −0 script/backgroundrb
View
@@ -30,6 +30,19 @@ when 'status'
exit!(daemon.status)
end
else
+ require "logger"
+ require "packet"
+ require "optparse"
+
+ require "bdrb_config"
+ require RAILS_HOME + "/config/boot"
+ require "active_support"
+
+ BackgrounDRb::Config.parse_cmd_options ARGV
+
+ require RAILS_HOME + "/config/environment"
+ require "bdrb_job_queue"
+ require "backgroundrb_server"
BackgrounDRb::MasterProxy.new()
end

0 comments on commit b25737c

Please sign in to comment.