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 such file to load -- lzma_java #1

Open
nirvdrum opened this issue Jun 24, 2012 · 2 comments
Open

no such file to load -- lzma_java #1

nirvdrum opened this issue Jun 24, 2012 · 2 comments

Comments

@nirvdrum
Copy link

I installed ruby-lzma 0.4.3 in JRuby 1.6.7.2 in 1.9 mode and when I try to require the file, I get the following:

irb(main):001:0> require 'lzma'
LoadError: no such file to load -- lzma_java
    from org/jruby/RubyKernel.java:1042:in `require'
    from /home/nirvdrum/.rbenv/versions/jruby-1.6.7.2/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
    from /home/nirvdrum/.rbenv/versions/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/ruby-lzma-0.4.3/lib/lzma.rb:8:in `(root)'
    from org/jruby/RubyKernel.java:1042:in `require'
    from /home/nirvdrum/.rbenv/versions/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/ruby-lzma-0.4.3/lib/lzma.rb:60:in `require'
    from (irb):1:in `evaluate'
    from org/jruby/RubyKernel.java:1088:in `eval'
    from org/jruby/RubyKernel.java:1410:in `loop'
    from org/jruby/RubyKernel.java:1197:in `catch'
    from org/jruby/RubyKernel.java:1197:in `catch'
    from /home/nirvdrum/.rbenv/versions/jruby-1.6.7.2/bin/irb:13:in `(root)'
@ianlevesque
Copy link
Owner

That's probably because it's never been tested with JRuby in 1.9 mode. Sorry about that. I don't actively develop this anymore but if you find a fix I'll gladly merge it.

@nirvdrum
Copy link
Author

It looks like the JAR isn't built in the gem. Should it be or would it get compiled on the fly somehow?

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