lib/generators/instance/templates/instance_environment.rb in radiant-1.0.1 vs lib/generators/instance/templates/instance_environment.rb in radiant-1.1.0.alpha
- old
+ new
@@ -7,9 +7,11 @@
# Specifies gem version of Rails to use when vendor/rails is not present
require File.join(File.dirname(__FILE__), 'boot')
require 'radius'
+YAML::ENGINE.yamler = 'syck' if RUBY_VERSION =~ /1.9/
+
Radiant::Initializer.run do |config|
# Skip frameworks you're not going to use (only works if using vendor/rails).
# To use Rails without a database, you must remove the Active Record framework
# config.frameworks -= [ :action_mailer ]