Sha256: f9bd2d0a24658603904eac747e381943a4b16ac04d1fb0daf50083922cf05e0c
Contents?: true
Size: 635 Bytes
Versions: 14
Compression:
Stored size: 635 Bytes
Contents
# pick the refinery root path if File.exist?("#{RAILS_ROOT}/lib/refinery_initializer.rb") require "#{RAILS_ROOT}/lib/refinery_initializer.rb" else require 'rubygems' version = if defined? REFINERY_GEM_VERSION REFINERY_GEM_VERSION elsif ENV.include?("REFINERY_GEM_VERSION") ENV["REFINERY_GEM_VERSION"] else $1 if File.read("#{RAILS_ROOT}/config/environment.rb") =~ /^[^#]*REFINERY_GEM_VERSION\s*=\s*["']([!~<>=]*\s*[\d.]+)["']/ end if version gem 'refinerycms', version else gem 'refinerycms' end require 'refinery_initializer' end REFINERY_ROOT = RAILS_ROOT unless defined? REFINERY_ROOT
Version data entries
14 entries across 14 versions & 1 rubygems