access ActionView::Base in configuration

Why is it impossible to access ActionView::Base in my environment.rb ?
getting uninitialized constant error....

thanks fyl

erwin

Because the code you're writing is running before the framework has
been loaded. Stick it in an initializer