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

ripper lib not supported on jruby #113

Closed
webframp opened this issue May 2, 2013 · 1 comment
Closed

ripper lib not supported on jruby #113

webframp opened this issue May 2, 2013 · 1 comment

Comments

@webframp
Copy link

webframp commented May 2, 2013

JRuby 1.7.2, Found this testing out flycheck:

Checker ruby-rubocop returned non-zero exit code 1, but no errors from output: the `ripper' lib is not supported on JRuby
LoadError: no such file to load -- ripper
  require at org/jruby/RubyKernel.java:1027
  require at /home/sme/.rbenv/versions/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36
   (root) at /home/sme/.rbenv/versions/jruby-1.7.2/lib/ruby/1.9/ripper/core.rb:11
  require at org/jruby/RubyKernel.java:1027
   (root) at /home/sme/.rbenv/versions/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:1
  require at /home/sme/.rbenv/versions/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36
  require at org/jruby/RubyKernel.java:1027
   (root) at /home/sme/.rbenv/versions/jruby-1.7.2/lib/ruby/1.9/ripper.rb:3
   (root) at /home/sme/.rbenv/versions/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:1
  require at org/jruby/RubyKernel.java:1027
  require at /home/sme/.rbenv/versions/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36
   (root) at /home/sme/.rbenv/versions/jruby-1.7.2/lib/ruby/gems/shared/gems/rubocop-0.6.1/bin/../lib/rubocop.rb:3
     load at org/jruby/RubyKernel.java:1046
   (root) at /home/sme/.rbenv/versions/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:1

Checker definition probably flawed.

1.9 mode is the default, so I wouldn't expect ripper to even be needed. Likely just a jruby issue, but reporting for tracking anyway.

@bbatsov
Copy link
Collaborator

bbatsov commented May 2, 2013

RuboCop depends on the ripper library, that's MRI specific. I guess we might fail more gracefully on JRuby and Rubinius, though.

@bbatsov bbatsov closed this as completed in 911d8d2 May 3, 2013
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

2 participants