Skip to content

uninitialized constant Mime::JSON in an admittedly older application #490

@dvodvo

Description

@dvodvo

An Rails 4.0.0 application needs some changes. I downloaded the repository, bundled and installed.

Upon creation of the databse via the rake task, uninitialized constant Mime::JSON is being encountered.
I removed the quoted version of jBuilder installed anew and the one that got installed is 1.5.3. Yes it is still old.

Given a large number of changes to JSON handling as of 4.1, that sounds plausible.

The specific error, when attempting to start the server is:
.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/jbuilder-1.5.3/lib/jbuilder/jbuilder_template.rb:110:in <class:JbuilderHandler>

How can this matter get resolved?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions