I have the following constant in production.rb:
GSA_EPLS_DATASOURCE = FILESTORE + "/" + "datafiles/gsa_epls.xml"

The constant FILESTORE is located in environment.rb:
FILESTORE = "../creditcompare_filestore/" + Rails.env

When I try to migrate my db on heroku I get this error which points to the
line above in production.rb

uninitialized constant FILESTORE


So I am gathering that there is a load sequence issue. I am trying to keep
FiLESTORE in highest level as it applies to all environments... I dont have
to but would like to. Is there a way to do what I am trying to do?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to