voxpupuli / json-schema

Ruby JSON Schema Validator
MIT License
1.52k stars 241 forks source link

Load VERSION.yml from relative path, so that developers can use "bundle config local.json-schema" #419

Closed ndbroadbent closed 5 years ago

ndbroadbent commented 5 years ago

I started doing a bit of work on json-schema, and want to test my local changes in my Rails app. So in my Gemfile I make json-schema point to my fork on GitHub, and I use bundle config local.json-schema /path/to/repo to use the code at /path/to/repo during development. (More info: https://bundler.io/v1.2/git.html#local)

This change was required, otherwise Bundler will crash with No such file or directory @ rb_sysopen - VERSION.yml.