Sha256: e76856f6274c58c7a289fe5050a9bba13fabd1b7f6a8b809d10e437083a71c8b

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

REFINERY_ROOT = File.join 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

2 entries across 2 versions & 1 rubygems

Version Path
refinerycms-0.9.1 lib/refinery_initializer.rb
refinerycms-0.9.0 lib/refinery_initializer.rb