lib/generators/templates/script_ctl in daemons-rails-1.0.0 vs lib/generators/templates/script_ctl in daemons-rails-1.1.0.alpha

- old
+ new

@@ -1,8 +1,9 @@ #!/usr/bin/env ruby require 'rubygems' require "daemons" require "daemons/rails/config" +require "daemons/rails" -config = Daemons::Rails::Config.new("<%= file_name %>", File.dirname(__FILE__) + "/../../") +config = Daemons::Rails::Config.new("<%= file_name %>", Daemons::Rails.configuration.root, Daemons::Rails.configuration.daemons_directory) Daemons.run File.dirname(__FILE__) + "/<%= file_name %>.rb", config.to_hash \ No newline at end of file