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?