Skip to content

README setup instructions do not work #114

@cvincent

Description

@cvincent

In order to get Bureaucrat working, I had to add this to the top of my test_helper.exs:

Bureaucrat.start(json_library: Jason)
Supervisor.start_link([Bureaucrat.Recorder], strategy: :one_for_one, name: Bureaucrat.Supervisor)

Otherwise I would get the same error reported in #35. I don't think this is related to needing to configure a different json_library, either. It's just the fact that, looking at the Bureaucrat module, you can't set options at all in a way that ultimately calls Supervisor.start_link. It seems like the README is missing something, but I'm not sure what the recommended setup is. But the above does work for me for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions