Sha256: 7791d425e6b192149d130b95808b442898d573697bd57dd3ecb4b9e14c3ba2da

Contents?: true

Size: 245 Bytes

Versions: 10

Compression:

Stored size: 245 Bytes

Contents

ENV['SINATRA_ENV'] ||= "development"

require 'bundler/setup'
Bundler.require(:default, ENV['SINATRA_ENV'])

ActiveRecord::Base.establish_connection(
  :adapter => "sqlite3",
  :database => "db/#{ENV['SINATRA_ENV']}.sqlite"
)

require_all 'app'

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
corneal-1.2.1 lib/corneal/generators/app/templates/config/environment.rb
corneal-1.2.0 lib/corneal/generators/app/templates/config/environment.rb
corneal-1.1.0 lib/corneal/generators/app/templates/config/environment.rb
corneal-1.0.0 lib/corneal/generators/app/templates/config/environment.rb
corneal-0.1.5 lib/templates/config/environment.rb
corneal-0.1.4 lib/templates/config/environment.rb
corneal-0.1.3 lib/templates/config/environment.rb
corneal-0.1.2 lib/templates/config/environment.rb
corneal-0.1.1 lib/templates/config/environment.rb
corneal-0.1.0 lib/templates/config/environment.rb