Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Process.argv0 missing #8568

@headius

Description

@headius

Apparently this was added to Ruby in 2.1 (over a decade ago) but we never added it.

Now it is used by Bundler 2.6.0 for its relaunching logic:

NoMethodError: undefined method `argv0' for Process:Module
  /Users/headius/work/jruby/lib/ruby/gems/shared/gems/bundler-2.6.0/lib/bundler/self_manager.rb:87:in `restart_with'
          /Users/headius/work/jruby/lib/ruby/gems/shared/gems/bundler-2.6.0/lib/bundler/self_manager.rb:62:in `install_and_restart_with'
          /Users/headius/work/jruby/lib/ruby/gems/shared/gems/bundler-2.6.0/lib/bundler/self_manager.rb:28:in `install_locked_bundler_and_restart_with_it_if_needed'
          /Users/headius/work/jruby/lib/ruby/gems/shared/gems/bundler-2.6.0/lib/bundler/cli/install.rb:18:in `run'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions