lib/generators/templates/script.rb in daemons-rails-0.0.1 vs lib/generators/templates/script.rb in daemons-rails-0.0.2

- old
+ new

@@ -1,11 +1,10 @@ #!/usr/bin/env ruby # You might want to change this -ENV["RAILS_ENV"] ||= "development" +ENV["RAILS_ENV"] ||= "production" -require File.dirname(__FILE__) + "/../../config/application" -Rails.application.require_environment! +require File.dirname(__FILE__) + "/../../config/environment" $running = true Signal.trap("TERM") do $running = false end \ No newline at end of file