settingslogic
settingslogic copied to clipboard
Missing setting 'development' in C:/RoR/swp/config/application.yml
Hi, I just installed this GEM and i am getting this error: Missing setting 'development' in C:/RoR/swp/config/application.yml
This is the content of my application.yml file
config/application.yml
defaults: &defaults api_token: 5255858 development: api_token: 5255858 test: api_token: 5255858 production: api_token: 5255858
I am trying to access it via : Settings.api_token
So please let me know on this, why such strange error is showing up ?
Could you add your Setttings class? Use a
...
block to syntax highlight: ruby and maybe yml.