Skip to content

9.2.0.0 rake missing rake gem and fails #5244

@anthraxx

Description

@anthraxx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions