This project is archived and is in readonly mode.

#84 ✓resolved
Hongli Lai

ActionView crashes if RAILS_ROOT is not defined during require()

Reported by Hongli Lai | May 1st, 2008 @ 07:50 PM | in 2.1.1

AssetTagHelper assumes that RAILS_ROOT is defined when its source file is being require()d. This is not the case in Passenger (mod_rails): it preloads the framework files, without setting RAILS_ROOT. This patch fixes the assumption.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages