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

No jruby support #68

Open
dmcnulla opened this issue Mar 18, 2016 · 0 comments
Open

No jruby support #68

dmcnulla opened this issue Mar 18, 2016 · 0 comments
Labels

Comments

@dmcnulla
Copy link

I use this religiously because I love to document my cukes. I really appreciate that you made this.

Recently I started supporting jruby for varioius reasons. Yard-cucumber doesn't work on jruby because jruby doesn't compile redcarpet. I tried with kramdown, but I had an error
ameError: wrong constant name ::Kramdown::Converter::SyntaxHighlighter::Coderay
const_get at org/jruby/RubyModule.java:2863
deep_const_get at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/kramdown-1.10.0/lib/kramdown/utils.rb:51
(root) at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/kramdown-1.10.0/lib/kramdown/converter.rb:39
call at org/jruby/RubyProc.java:289
highlight_code at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/kramdown-1.10.0/lib/kramdown/converter/base.rb:207
convert_codeblock at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/kramdown-1.10.0/lib/kramdown/converter/html.rb:96
inner at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/kramdown-1.10.0/lib/kramdown/converter/html.rb:70
each at org/jruby/RubyArray.java:1569
inner at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/kramdown-1.10.0/lib/kramdown/converter/html.rb:69
convert_root at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/kramdown-1.10.0/lib/kramdown/converter/html.rb:332
convert at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/kramdown-1.10.0/lib/kramdown/converter/html.rb:57
convert at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/kramdown-1.10.0/lib/kramdown/converter/base.rb:105
method_missing at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/kramdown-1.10.0/lib/kramdown/document.rb:120
html_markup_markdown at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/helpers/html_helper.rb:67
htmlify at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/helpers/html_helper.rb:41
diskfile at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/templates/default/layout/html/setup.rb:49
render_section at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:355
run at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:251
each at org/jruby/RubyArray.java:1569
run at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:248
add_options at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:386
run at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:247
yieldall at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:269
with_section at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:400
yieldall at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:269
_erb_cache_7 at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/templates/default/layout/html/layout.erb:18
erb at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:279
render_section at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:357
run at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:251
each at org/jruby/RubyArray.java:1569
run at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:248
add_options at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:386
run at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:247
run at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:135
serialize_index at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/templates/default/fulldoc/html/setup.rb:51
with_serializer at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/engine.rb:122
capture at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/logging.rb:70
with_serializer at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/engine.rb:120
serialize_index at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/templates/default/fulldoc/html/setup.rb:50
serialize_file at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/templates/default/fulldoc/html/setup.rb:67
init at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/templates/default/fulldoc/html/setup.rb:10
each at org/jruby/RubyArray.java:1569
each_with_index at org/jruby/RubyEnumerable.java:968
init at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/templates/default/fulldoc/html/setup.rb:9
init at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-cucumber-3.0.0/lib/templates/default/fulldoc/html/setup.rb:4
initialize at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:185
new at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:130
run at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/template.rb:135
generate at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/templates/engine.rb:104
run_generate at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/cli/yardoc.rb:339
run at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/cli/yardoc.rb:253
run at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/lib/yard/cli/command.rb:13
(root) at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/gems/yard-0.8.7.6/bin/yardoc:12
load at org/jruby/RubyKernel.java:969
(root) at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/bin/yardoc:1
eval at org/jruby/RubyKernel.java:990
script at /Users/dmcnulla/.rvm/gems/jruby-9.0.0.0.pre1@rest_baby/bin/jruby_executable_hooks:15

I'd still mark this as a nice to have right now.

@burtlo burtlo added the feature label Feb 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants