diff options
author | Genki Takiuchi <genki@s21g.com> | 2009-07-19 10:23:02 +0900 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2009-07-19 11:58:16 +0200 |
commit | 7b6046b764eafd332b3b2d9d93b3915c425fae54 (patch) | |
tree | 4d1a61d0e1f76e719a16606ba719c7d4c797fd11 | |
parent | 7a55c98a30deea7fe198958d7c2770b087aa94b9 (diff) | |
download | rack-7b6046b764eafd332b3b2d9d93b3915c425fae54.tar.gz |
Became conscious of __END__
Signed-off-by: Christian Neukirchen <chneukirchen@gmail.com>
-rwxr-xr-x | bin/rackup | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -100,6 +100,7 @@ if config =~ /\.ru$/ if cfgfile[/^#\\(.*)/] opts.parse! $1.split(/\s+/) end + cfgfile.sub!(/^__END__\n.*/, '') inner_app = eval "Rack::Builder.new {( " + cfgfile + "\n )}.to_app", nil, config else |