Method: Jets::Booter.boot!

Defined in:
lib/jets/booter.rb

.boot!(options = {}) ⇒ Object



4
5
6
7
8
9
10
11
12
13
14
15
# File 'lib/jets/booter.rb', line 4

def boot!(options={})
  return if @booted

  redirect_output(options)
  confirm_jets_project!
  require_bundle_gems
  Jets::Dotenv.load!
  Jets.application # triggers application.setup! # autoload_paths, routes, etc
  setup_db

  @booted = true
end