Sha256: f7a5fe0c5dce172e5e6cd5d5a465cf14b877d98e0246a6974c361e41d3f2281c

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

#
# ruby
#
raise 'ruby 1.9.2 or higher required!' unless RUBY_VERSION >= '1.9.2'

Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
warn "  default source encoding is not UTF-8, something wroing is going on!" if __ENCODING__ != Encoding::UTF_8

# def ensure_utf8! string
#   raise "invalid encoding (#{string})!" unless string.encoding == Encoding::UTF_8
# end


#
# gems
#
require 'rad_core/gems'

require 'rad/support/active_support'

require 'ruby_ext'

require 'vfs'

require 'ruby_ext/more/open_constructor'
require 'rad/support/ruby_ext_with_active_support'

require 'class_loader'

require 'micon'
require 'rad/support/micon'

require 'dictionary'

require 'thread'
require 'time'
require 'uri'
require 'json'


require 'addressable/uri'
require 'rad/support/addressable'
::Uri = Addressable::URI

#
# support
#
require 'rad/support/hacks_and_fixes'


autoload :Nokogiri, 'nokogiri'

[  
  'module',
  'buffered_logger',
  'callbacks',
  'filters',
  'mime',  
  'string',
  'rson',
  'exception',
].each{|f| require "rad/support/#{f}"}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rad_core-0.0.13 lib/rad/support.rb