Sha256: 0032651cc81dcdafd5ddcdc063ddffafef713a4e7c78854f7252a0b94f7bfae8

Contents?: true

Size: 612 Bytes

Versions: 4

Compression:

Stored size: 612 Bytes

Contents

require 'rubygems'
gemfile = File.expand_path('../../../../Gemfile', __FILE__)

# Need to explicitly use syck for yaml. This fixes a problem with the current
# delayed job parsing of YAML
#
# FIXME: I don't expect end users to have to modify their config/boot.rb for an
# app using the locomotiveCMS gem. Perhaps we can remove this when a newer
# delayed job version is released?
#
require 'yaml'
YAML::ENGINE.yamler = 'syck' if defined?(Delayed::Worker)

if File.exist?(gemfile)
  ENV['BUNDLE_GEMFILE'] = gemfile
  require 'bundler'
  Bundler.setup
end

$:.unshift File.expand_path('../../../../lib', __FILE__)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
locomotive_cms-2.5.7 spec/dummy/config/boot.rb
locomotive_cms-2.5.6 spec/dummy/config/boot.rb
locomotive_cms-2.5.6.rc2 spec/dummy/config/boot.rb
locomotive_cms-2.5.6.rc1 spec/dummy/config/boot.rb