lib/generators/templates/script_ctl in daemons-rails-1.1.2 vs lib/generators/templates/script_ctl in daemons-rails-1.2.0
- old
+ new
@@ -1,7 +1,6 @@
#!/usr/bin/env ruby
require 'rubygems'
-require "daemons"
-require "daemons/rails/config"
+require 'daemons/rails/config'
config = Daemons::Rails::Config.for_controller(File.expand_path(__FILE__))
-Daemons.run config[:script], config.to_hash
+Daemons::Rails.run config[:script], config.to_hash
\ No newline at end of file