# File lib/spork/app_framework/rails.rb, line 13 def self.run_with_spork(*args, &block) # it's all fun and games until someone gets an eye poked out if ENV['RAILS_ENV'] Object.send(:remove_const, :RAILS_ENV) Object.const_set(:RAILS_ENV, ENV['RAILS_ENV'].dup) end run_without_spork(*args, &block) end