Sha256: 3a8375f7715de732643a1d6bd971eb0fafdc42a8d46b94698c9425649d2943e9

Contents?: true

Size: 315 Bytes

Versions: 24

Compression:

Stored size: 315 Bytes

Contents

REFINERY_ROOT = File.expand_path(File.dirname(__FILE__) << "/..")

unless REFINERY_ROOT == RAILS_ROOT # e.g. only if we're in a gem.
  $LOAD_PATH.unshift "#{REFINERY_ROOT}/vendor/plugins"
  $LOAD_PATH.unshift "#{REFINERY_ROOT}/vendor/plugins/refinery/lib"

  require 'refinery'
  require 'refinery/initializer'
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
refinerycms-0.9.5.17 lib/refinery_initializer.rb
refinerycms-0.9.5.16 lib/refinery_initializer.rb
refinerycms-0.9.5.15 lib/refinery_initializer.rb
refinerycms-0.9.5.14 lib/refinery_initializer.rb