jam-cloud/web/config/environment.rb

24 lines
499 B
Ruby
Raw Normal View History

if defined? FasterPath
puts "OMG"
require "faster_path/optional/monkeypatches"
FasterPath.sledgehammer_everything!
end
2012-08-31 02:09:02 +00:00
# Load the rails application
require File.expand_path('../application', __FILE__)
Mime::Type.register "audio/ogg", :audio_ogg
# to prevent embedded resque code from forking
ENV['FORK_PER_JOB'] = 'false'
2014-12-30 23:10:16 +00:00
# assign globals
APP_CONFIG = Rails.application.config
2014-12-30 23:10:16 +00:00
Stats.client = InfluxDB::Rails.client
2012-08-31 02:09:02 +00:00
# Initialize the rails application
SampleApp::Application.initialize!
2014-12-30 23:10:16 +00:00