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 rake missing rake gem and fails #5244

anthraxx opened this issue Jul 11, 2018 · 2 comments
Closed rake missing rake gem and fails #5244

anthraxx opened this issue Jul 11, 2018 · 2 comments


Copy link

anthraxx commented Jul 11, 2018


  • jruby (2.5.0) 2018-05-24 81156a8 OpenJDK 64-Bit Server VM 10.0.1+10 on 10.0.1+10 +jit [linux-x86_64]
  • Stock distributed tarball

Expected Behavior

rake in jruby dist should work out of the box

Actual Behavior

# /opt/jruby/bin/rake
Gem::GemNotFoundException: can't find gem rake (>= 0.a) with executable rake
  find_spec_for_exe at /opt/jruby/lib/ruby/stdlib/rubygems.rb:289
  activate_bin_path at /opt/jruby/lib/ruby/stdlib/rubygems.rb:308
             <main> at /opt/jruby/bin/rake:23

the rake.gemspec is missing from the tarball's lib/ruby/gems/shared/specifications/default

All works fine in jruby- and that dist contains the gemspec so that rake works.

@enebo enebo added this to the JRuby milestone Jul 11, 2018
Copy link

headius commented Jul 12, 2018

Yeah we needed some extra build logic to include the gem in our dist after we made it a "normal" preinstalled gem like CRuby.

You can just install it. This has already been fixed on master.

@headius headius closed this as completed Jul 12, 2018
Copy link

anthraxx commented Aug 6, 2018

@headius When is a new fixed release planned? We are packaging jruby for a distro and it would be best to have it working in the archive. using gem and installing aside for packaging rake into jruby is bit pain and ugly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

3 participants