Sha256: 2c9ad0c1a5bcf3ba2fddd09febd943a76dfbd4bc202775e49b52db013c487a49
Contents?: true
Size: 654 Bytes
Versions: 4
Compression:
Stored size: 654 Bytes
Contents
require 'redis' require 'fileutils' require 'rack/jsonr' require 'sinatra/base' require 'active_support/all' require 'fanforce/api' require 'fanforce/app_worker' require_relative 'app_factory/version' if caller[0].split(':')[0] =~ /^(.+)\/(config\.ru|Rakefile)$/ $root_dir = $1 $loader_filename = $2 ENV['RACK_ENV'] ||= 'development' require_relative 'app_factory/app' require_relative 'app_factory/core_config' require_relative 'app_factory/sprockets/_all' if ENV['RACK_ENV'] == 'development' Fanforce::App.start($root_dir, $loader_filename) load "#{Fanforce::App.config.factory_dir}/Rakefile" if $loader_filename == 'Rakefile' end
Version data entries
4 entries across 4 versions & 1 rubygems