Permalink
Browse files

ensure that generated instances support 1.9

  • Loading branch information...
1 parent 3e5fc9a commit 915828b59b72c1a5fe03b7ded6a9bc8046189974 @saturnflyer saturnflyer committed Mar 2, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/generators/instance/templates/instance_environment.rb
@@ -9,6 +9,8 @@
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

0 comments on commit 915828b

Please sign in to comment.