From 852d05a9e7453968f1f4cf8feaec8b2da0506861 Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 15 Nov 2012 00:19:33 -0800 Subject: fixed rake task update-requirements --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 373053d..4ba6181 100644 --- a/Rakefile +++ b/Rakefile @@ -88,7 +88,7 @@ desc "Updates the list of required configuration options for this version of LEA task 'update-requirements' do Dir.chdir($base_dir) do required_configs = `find -name '*.rb' | xargs grep -R 'assert_config!'`.split("\n").collect{|line| - if line =~ /def/ + if line =~ /def/ || line =~ /pre\.rb/ nil else line.sub(/.*assert_config! ["'](.*?)["'].*/,'"\1"') -- cgit v1.2.3