Sha256: 36273de595bf42cf3039fce682eeb2c3395be964b61f1e2a514b1f7bf5e690bd
Contents?: true
Size: 680 Bytes
Versions: 2
Compression:
Stored size: 680 Bytes
Contents
require "bundler" require "yaml" # require "bundle gems" ENV["RACK_ENV"] ||= "development" Bundler.require(:default, ENV["RACK_ENV"].to_sym) # init sinatra set :root, File.expand_path(".") set :sessions, true set :session_secret, "<%= @secret %>" set :views, settings.root + "/app/views" set :database_file, settings.root + "/config/database.yml" if production? set :manifest, YAML::load(File.read(settings.root + "/public/manifest.yml")) end # sinatra reloader if development? require "sinatra/reloader" also_reload "lib/**/*.rb", "app/{models,helpers}/**/*.rb" end # require project files Dir.glob "./{lib,app/{models,helpers,routes}}/**/*.rb" do |f| require f end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simba-0.8.1 | lib/simba/templates/config/boot.rb.tt |
simba-0.8.0 | lib/simba/templates/config/boot.rb.tt |