Sha256: 3ef8ee9af3869a6bad9e0bd064142f13406cdc4a74e4a3e534f43e9e5c5dbd68

Contents?: true

Size: 530 Bytes

Versions: 11

Compression:

Stored size: 530 Bytes

Contents

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

Encoding.default_external = Encoding::UTF_8 if defined?(Encoding)

# 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)

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spontaneous-0.2.0.beta10 lib/spontaneous/generators/site/config/boot.rb
spontaneous-0.2.0.beta9 lib/spontaneous/generators/site/config/boot.rb
spontaneous-0.2.0.beta8 lib/spontaneous/generators/site/config/boot.rb
spontaneous-0.2.0.beta7 lib/spontaneous/generators/site/config/boot.rb
spontaneous-0.2.0.beta6 lib/spontaneous/generators/site/config/boot.rb
spontaneous-0.2.0.beta5 lib/spontaneous/generators/site/config/boot.rb
spontaneous-0.2.0.beta4 lib/spontaneous/generators/site/config/boot.rb
spontaneous-0.2.0.beta3 lib/spontaneous/generators/site/config/boot.rb
spontaneous-0.2.0.beta2 lib/spontaneous/generators/site/config/boot.rb
spontaneous-0.2.0.beta1 lib/spontaneous/generators/site/config/boot.rb
spontaneous-0.2.0.alpha7 lib/spontaneous/generators/site/config/boot.rb