Sitelet https://github.com/binarylogic/settingslogic/issues/61
Skip to content

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

Description

@pratik2605

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions