Sha256: cc6113e69f338dc789bbd2b0ede69d3c4b2ee3b2bf2a3633f274b3491bf02d0d
Contents?: true
Size: 510 Bytes
Versions: 5
Compression:
Stored size: 510 Bytes
Contents
Iodine.patch_rack require_relative "#{Rage.root}/config/environments/#{Rage.env}" # load application files app, bad = Dir["#{Rage.root}/app/**/*.rb"], [] loop do path = app.shift break if path.nil? require_relative path # push the file to the end of the list in case it depends on another file that has not yet been required; # re-raise if only errored out files are left rescue NameError raise if (app - bad).empty? app << path bad << path end require_relative "#{Rage.root}/config/routes"
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rage-rb-0.5.2 | lib/rage/setup.rb |
rage-rb-0.5.1 | lib/rage/setup.rb |
rage-rb-0.5.0 | lib/rage/setup.rb |
rage-rb-0.4.0 | lib/rage/setup.rb |
rage-rb-0.3.0 | lib/rage/setup.rb |