settingslogic icon indicating copy to clipboard operation
settingslogic copied to clipboard

Missing setting 'development' in C:/RoR/swp/config/application.yml

Open pratik2605 opened this issue 12 years ago • 1 comments

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 ?

pratik2605 avatar Oct 01 '13 04:10 pratik2605

Could you add your Setttings class? Use a

...

block to syntax highlight: ruby and maybe yml.

leonelgalan avatar Nov 11 '13 23:11 leonelgalan