Permalink
Browse files

specifying path to bundler gemfile in worker

  • Loading branch information...
1 parent d360c81 commit 2724157b8f7cbc5180edef7c29932d0373411a19 @ryanb committed Dec 8, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 script/worker
View
2 script/worker
@@ -4,8 +4,10 @@ STDERR.sync = STDOUT.sync = true
RAILS_ENV = ENV.fetch("RAILS_ENV", "development")
RAILS_ROOT = File.expand_path("../..", __FILE__)
+ENV["BUNDLE_GEMFILE"] = "#{RAILS_ROOT}/Gemfile"
require "bundler"
Bundler.setup(:default, RAILS_ENV.to_sym)
+
require "stalker"
require "mysql2"
require "go/gtp"

0 comments on commit 2724157

Please sign in to comment.