diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-12-17 00:06:19 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-12-17 00:06:19 +0000 |
commit | a481f9b75b1cedeb5368e133b69395c97b389d48 (patch) | |
tree | 0ec4a109165f26bddecf367167d08233232665a4 | |
parent | 9df9e4bbff1f4490a2107ff2930da035e11406cf (diff) | |
download | puppet-a481f9b75b1cedeb5368e133b69395c97b389d48.tar.gz puppet-a481f9b75b1cedeb5368e133b69395c97b389d48.tar.xz puppet-a481f9b75b1cedeb5368e133b69395c97b389d48.zip |
Requiring puppet/rails in the interpreter before Rails.init
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1945 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r-- | lib/puppet/parser/interpreter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/puppet/parser/interpreter.rb b/lib/puppet/parser/interpreter.rb index 884080ec0..5fe50d144 100644 --- a/lib/puppet/parser/interpreter.rb +++ b/lib/puppet/parser/interpreter.rb @@ -360,6 +360,7 @@ class Puppet::Parser::Interpreter # The class won't always be defined during testing. if Puppet[:storeconfigs] and Puppet.features.rails? + require 'puppet/rails' Puppet::Rails.init end |