Sha256: eb0c6f43d8b2026fbfaaa98b5da930b741c2a1a6300f05367a5f6e4c1363db05

Contents?: true

Size: 935 Bytes

Versions: 1

Compression:

Stored size: 935 Bytes

Contents

if defined?(Rails)
  Rails.configuration.gem 'hpricot', '>= 0.8.2'
  Rails.configuration.gem 'sc-core-ext', '>= 1.1.1'
else
  unless defined?(Gem) && defined?(ActiveSupport::Dependencies) && defined?(ActionController::Base)
    require 'rubygems'
    gem 'hpricot', ">= 0.8.2"
    gem 'sc-core-ext', ">= 1.1.1"
    gem 'activesupport', '>= 2.3.5'
    gem 'actionpack', '>= 2.3.5'
    gem 'activerecord', '>= 2.3.5'
  
    require 'active_support'
    require 'action_controller'
    require 'action_view'
    require 'active_record'
    require 'active_resource'
  end

  require 'hpricot'
  require 'sc-core-ext'
end

path = File.expand_path(File.join(File.dirname(__FILE__), '../..'))
%w(lib
   builtin/controllers
   builtin/models
   builtin/views).each do |p|
  $LOAD_PATH << File.join(path, p)
  ActiveSupport::Dependencies.load_paths << File.join(path, p)
  ActiveSupport::Dependencies.load_once_paths << File.join(path, p)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rtml-2.0.4 lib/rtml/dependencies.rb