Permalink
Browse files

ensure that generated instances support 1.9

  • Loading branch information...
1 parent 37b274c commit 8b8653d9e699706987b51675de29b302ff460836 @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 8b8653d

Please sign in to comment.