Sha256: aa5eff69373d1d951ebe026d96a5f4b5d5dc96546d01df59746785cb178e5e8e

Contents?: true

Size: 501 Bytes

Versions: 6

Compression:

Stored size: 501 Bytes

Contents

require 'bundler'
Bundler.setup

require 'active_support/core_ext'
require 'deano/base'

Deano.root = File.dirname(__FILE__)

require 'sinatra/twitter-bootstrap'
require 'sprockets'
require 'mongoid'
require 'json'

env = ENV["RACK_ENV"] ? ENV["RACK_ENV"] : "development"

Mongoid.load!(File.join(File.dirname(__FILE__), "mongoid.yml"), env.to_sym)

%w{apps models}.each do |dir|
  Dir[File.expand_path(File.join(dir, "**", "*.rb"), File.dirname(__FILE__))].each do |file|
    require file
  end  
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
deano-1.2.1 template_app/setup.rb
deano-1.2.0 template_app/setup.rb
deano-1.1.3 template_app/setup.rb
deano-1.1.2 template_app/setup.rb
deano-1.1.1 template_app/setup.rb
deano-1.1.0 template_app/setup.rb