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

9.2.0.0 rake missing rake gem and fails #5244

Closed
anthraxx opened this issue Jul 11, 2018 · 2 comments
Closed

9.2.0.0 rake missing rake gem and fails #5244

anthraxx opened this issue Jul 11, 2018 · 2 comments
Milestone

Comments

@anthraxx
Copy link

@anthraxx anthraxx commented Jul 11, 2018

Environment

  • jruby 9.2.0.0 (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 9.2.0.0 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-9.1.17.0 and that dist contains the gemspec so that rake works.

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

@headius 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 Jul 12, 2018
@anthraxx
Copy link
Author

@anthraxx 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
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants