Skip to content

Provide ruby.exe so it's a drop-in replacement for MRI #29

Open
@eregon

Description

@eregon

See jruby/jruby#6042 (comment)

Currently it's not obvious how to make ruby ... work on Windows.
On Unix this is usually done easily with ln -s jruby ruby, but on Windows the only way I could find is to create a ruby.bat with:

@ECHO OFF
@"%~dp0jruby.exe" %*

(I also tried mklink on Windows, that doesn't work)

It would be nice if this could be simplified and e.g. JRuby already ships with that ruby.bat and ruby files.

gem, rake, etc already conflict with MRI binaries so the only way to use a Ruby is to add it to PATH anyway. Not having something for ruby ... means there is a the danger to use MRI for that one, but not for other commands such as gem and rake, which is never intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions