Sha256: 6711beb84d9c60569bb799b3385f8f4750821a77e1dedd8c3e1e8ba0fce466dd
Contents?: true
Size: 632 Bytes
Versions: 16
Compression:
Stored size: 632 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
16 entries across 16 versions & 1 rubygems