Sha256: 215932d66004efdd52168382e4c7be8f803d234e4e629c56a3c985a535928930

Contents?: true

Size: 651 Bytes

Versions: 18

Compression:

Stored size: 651 Bytes

Contents

SPOT_ENV = (ENV["SPOT_ENV"] ||= ENV["RACK_ENV"] ||= "development").to_sym unless defined?(SPOT_ENV)
SPOT_MODE = (ENV["SPOT_MODE"] ||= "back").to_sym unless defined?(SPOT_MODE)

# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)

require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])

Bundler.require(:default, SPOT_ENV, SPOT_MODE)

# TODO: configuration of template engine
# so, remove this require and move the template init into part of the ::load! method
# using config settings to determine engine
require 'cutaneous'

Spontaneous.init(:environment => SPOT_ENV, :mode => SPOT_MODE)

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
spontaneous-0.2.0.beta10 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.beta9 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.beta8 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.beta7 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.beta6 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.beta5 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.beta4 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.beta3 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.beta2 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.beta1 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.alpha7 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.alpha6 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.alpha5 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.alpha4 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.alpha3 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.alpha2 test/fixtures/example_application/config/boot.rb
spontaneous-0.2.0.alpha1 test/fixtures/example_application/config/boot.rb
spontaneous-0.1.0.alpha1 test/fixtures/example_application/config/boot.rb