Thread
:
ENV['RAILS_ENV'] returns nil when called inside Rails 2.3.4 initializer
View Single Post
#
2
01-30-2010, 07:22 AM
mistwang
LiteSpeed Staff
Join Date: May 2003
Location: New Jersey
Posts: 7,603
If you use dispatch.lsapi setup, you need to set "RAILS_ENV" in "Environment" configuration for the external app.
mistwang
View Public Profile
Send a private message to mistwang
Visit mistwang's homepage!
Find all posts by mistwang