Sha256: 8b8707210f2be9bbc8ba2ca360d5fd004e3a2f15a1adaef41a653e6156c4bb48
Contents?: true
Size: 643 Bytes
Versions: 1
Compression:
Stored size: 643 Bytes
Contents
require 'rubygems' begin require 'bundler' Bundler.setup rescue LoadError puts "Please run `gem install bundler` and `bundle install`" end require 'sinatra/base' require File.dirname(__FILE__) + '/config/config' Sinatra::Base.set(:config, Config.environment_config) Config.setup base = File.dirname(__FILE__) Dir.glob(base + '/lib/*.rb' ).each { |f| require f } Dir.glob(base + '/model_helpers/*.rb' ).each { |f| require f } Dir.glob(base + '/models/*.rb' ).each { |f| require f } Dir.glob(base + '/resource_helpers/*.rb').each { |f| require f } Dir.glob(base + '/resources/*.rb' ).each { |f| require f }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sinatra_resource-0.4.24 | examples/datacatalog/app.rb |