Sha256: 0fe3f24d0a34929e8ff68ff82be32c3644e24a0f89c4745b5da6b1123075e31a

Contents?: true

Size: 316 Bytes

Versions: 25

Compression:

Stored size: 316 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

25 entries across 25 versions & 1 rubygems

Version Path
refinerycms-0.9.5.13 lib/refinery_initializer.rb
refinerycms-0.9.5.12 lib/refinery_initializer.rb
refinerycms-0.9.5.11 lib/refinery_initializer.rb
refinerycms-0.9.5.10 lib/refinery_initializer.rb
refinerycms-0.9.5.9 lib/refinery_initializer.rb
refinerycms-0.9.5.8 lib/refinery_initializer.rb
refinerycms-0.9.5.7 lib/refinery_initializer.rb
refinerycms-0.9.5.6 lib/refinery_initializer.rb
refinerycms-0.9.5.5 lib/refinery_initializer.rb
refinerycms-0.9.5.4 lib/refinery_initializer.rb
refinerycms-0.9.5.3 lib/refinery_initializer.rb
refinerycms-0.9.5.2 lib/refinery_initializer.rb
refinerycms-0.9.5.1 lib/refinery_initializer.rb
refinerycms-0.9.5 lib/refinery_initializer.rb
refinerycms-0.9.4.5 lib/refinery_initializer.rb
refinerycms-0.9.4.4 lib/refinery_initializer.rb
refinerycms-0.9.4.3 lib/refinery_initializer.rb
refinerycms-0.9.4.2 lib/refinery_initializer.rb
refinerycms-0.9.4.1 lib/refinery_initializer.rb
refinerycms-0.9.4 lib/refinery_initializer.rb