Setting custom variables per environment

Hi,

I’d like to be able to set a variable for each environment I have.
It’s a path to a folder that’s different on each system: development
and production. I then, need to be able to read it from my controller.

How can I do this?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs