<VirtualHost *:80> block is in config but still says no VirtualHosts


So I keep getting the following warning when I try apachectl restart

NameVirtualHost *:80 has no VirtualHosts

But in the config file, I did add the following
Can someone tell me what I did wrong?

NameVirtualHost *:80

<VirtualHost *:80>
ServerName localhost
DocumentRoot /home/max/ror/depot/public

<Directory /home/max/ror/depot/public>
Order allow, deny
Allow from all

LoadModule passenger_module
PassengerRoot /var/lib/gems/1.8/gems/passenger-3.0.7
PassengerRuby /usr/bin/ruby1.8