Property file in RoR


I am about to deploy RoR app and I need to create property file so
that I can put some global variables depends on deployment status (dev/
test/production). How does this work in RoR? If there is any helpful
sites, let me know as well.