Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path issue when validating draft-04 schema #160

Closed
adrienkohlbecker opened this issue Oct 28, 2014 · 6 comments
Closed

Path issue when validating draft-04 schema #160

adrienkohlbecker opened this issue Oct 28, 2014 · 6 comments

Comments

@adrienkohlbecker
Copy link

Hello,

I'm just updated to the latest version, and I get this error:

> JSON::Validator.fully_validate("#{Rails.root}/spec/schema/schema.json", body, validate_schema: true)

Errno::ENOENT:
       No such file or directory @ rb_sysopen - /app/backend/resources/draft-04.json

This seems related to 99278f1 @pd
My app is stored at /app/backend with the bundle in vendor/bundle

@pd
Copy link
Contributor

pd commented Oct 28, 2014

@adrienkohlbecker are you sure the version you're using includes that commit (99278f1)? It was actually meant to fix that issue, which pre-dated it. See #136, #135, #155.

A gem hasn't yet been released to include the fix, so if you're on 2.3.0, you might try pointing your Gemfile at the git repo temporarily until @hoxworth releases 2.3.1 or 2.4.0.

@adrienkohlbecker
Copy link
Author

Ah, my bad, I did not check the date of the commit/release. I guess I'll wait for the bugfix :)
Closing the issue

@hoxworth
Copy link
Contributor

I'll release a new version now. I need to get more people on the release train.

@hoxworth
Copy link
Contributor

@adrienkohlbecker 2.4.0 just released, should include the most recent fixes.

@adrienkohlbecker
Copy link
Author

Thanks for the fast response! I'll try it now.

@adrienkohlbecker
Copy link
Author

It's working. Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants