Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (14 sloc) 369 Bytes
require "rails" # In case people require this file directly
module Rails
class Initializer
class Error < StandardError ; end
def self.run(initializer = nil, config = nil)
if initializer
# Deprecated
else
Rails.application = Class.new(Application)
yield Rails.application.config if block_given?
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.