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
I could not find if this was reported before so I want to ask if DATA is missing on purpose or its a bug ?
Jruby 1.6.8 and 1.7.12 contain DATA constant but JRuby 9.0.0.0.pre1 end with:
NameError: uninitialized constant DATA const_missing at org/jruby/RubyModule.java:2935 __script__ at bm_app_erb.rb:7
Source of bm_app_erb.rb can be found at http://rubybench-rycco.rhcloud.com/implementations/bm_app_erb
The text was updated successfully, but these errors were encountered:
In jruby 9.0.1.0 this error still exists.
If I execute this program
#coding: utf-8 DATA.each { |l| puts l } __END__ ONE TWO THREE
it works with Ruby MRI, but not with jRuby.
NameError: uninitialized constant DATA const_missing at org/jruby/RubyModule.java:3166 <top> at test_data.rb:3
The version I've installed:
jruby 9.0.1.0 (2.2.2) 2015-09-02 583f336 Java HotSpot(TM) 64-Bit Server VM 25.45-b02 on 1.8.0_45-b15 +jit [Windows 7-amd64] ruby 2.2.2p95 (2015-04-13 revision 50295) [x64-mingw32]
Sorry, something went wrong.
ONE TWO THREE
output under jruby 9.1.9.0 (2.3.3) 2017-05-15 28aa830 Java HotSpot(TM) 64-Bit Server VM 25.121-b13 on 1.8.0_121-b13 +jit [linux-x86_64]
No branches or pull requests
I could not find if this was reported before so I want to ask if DATA is missing on purpose or its a bug ?
Jruby 1.6.8 and 1.7.12 contain DATA constant but JRuby 9.0.0.0.pre1 end with:
Source of bm_app_erb.rb can be found at http://rubybench-rycco.rhcloud.com/implementations/bm_app_erb
The text was updated successfully, but these errors were encountered: