Sha256: 275bc4cffe68628aed4d071892b938d2fb76ce9f8463ef8b8a91d6665557fc11
Contents?: true
Size: 637 Bytes
Versions: 3
Compression:
Stored size: 637 Bytes
Contents
RAILS_GEM_VERSION = '2.3.2' unless defined? RAILS_GEM_VERSION require File.join(File.dirname(__FILE__), 'boot') # Load a global constant so the initializers can use them require 'ostruct' require 'yaml' ::GlobalConfig = OpenStruct.new(YAML.load_file("#{RAILS_ROOT}/config/global_config.yml")[RAILS_ENV]) class << GlobalConfig def prepare_options_for_attachment_fu(options) attachment_fu_options = options.symbolize_keys.merge({:storage => options['storage'].to_sym, :max_size => options['max_size'].to_i.megabytes}) end end Rails::Initializer.run do |config| config.time_zone = 'UTC' config.gem 'disguise' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
disguise-0.1.3 | test/rails_root/config/environment.rb |
disguise-0.3.0 | test/rails_root/config/environment.rb |
disguise-0.2.0 | test/rails_root/config/environment.rb |