We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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
setup:
$ echo asd > a.yml
then
$ java -cp .:jruby-complete-1.7.22.jar org.jruby.Main -ryaml -e 'p YAML.load_file("uri:classloader:/a.yml")' false
but
$ java -cp .:jruby-complete-1.7.22.jar org.jruby.Main -ryaml -e 'p YAML.load(File.read("uri:classloader:/a.yml"))' "asd"
or
$ java -cp .:jruby-complete-1.7.22.jar org.jruby.Main -ryaml -e 'p YAML.load_file("classpath:/a.yml")' "asd"
$ java -cp .:jruby-complete-9.0.1.0.jar org.jruby.Main -ryaml -e 'p YAML.load_file("uri:classloader:/a.yml")' "asd"
so it is only the uri:classloader:/a.yml which fails on jruby-1.7.x. jruby-9k works.
uri:classloader:/a.yml
The text was updated successfully, but these errors were encountered:
add a monkey path of YAML.load_file to work with uri:classloader:/ files
92c3944
fixes jruby/jruby#3306 when the gem is used.
mkristian
No branches or pull requests
setup:
then
but
or
or
so it is only the
uri:classloader:/a.yml
which fails on jruby-1.7.x.jruby-9k works.
The text was updated successfully, but these errors were encountered: