Skip to content

Commit

Permalink
Require rubygems for daemons scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
brauliobo committed Jan 17, 2013
1 parent b85c550 commit 1ccaf9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions script/delayed_job
Expand Up @@ -6,6 +6,7 @@
# The role of this script is to just start/stop the daemon, write a PID file,
# etc. The actual feed update logic is DelayedJob plugin.

require 'rubygems'
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'config', 'environment'))
require 'daemons'
require 'delayed/command'
Expand Down
1 change: 1 addition & 0 deletions script/feed-updater
Expand Up @@ -6,6 +6,7 @@
# The role of this script is to just start/stop the daemon, write a PID file,
# etc. The actual feed update logic is in FeedUpdater.

require 'rubygems'
require 'daemons'
require 'optparse'

Expand Down

0 comments on commit 1ccaf9f

Please sign in to comment.