JRuby masterplan for F19 - RFC

Miroslav Suchý msuchy at redhat.com
Wed Dec 12 17:36:54 UTC 2012


On 11/29/2012 09:43 AM, Bohuslav Kabrda wrote:
> - Two connected problems: 1) RPM generates auto provides from shebangs, e.g. #!/usr/bin/ruby will automatically require ruby package; 2) How to run programs with #!/usr/bin/ruby shebangs under JRuby?

We already have mechanism for that:

/etc/alternatives/*
update-alternatives(8)

/usr/bin/ruby will be symlink to /etc/alternatives/ruby, which will be 
symlink to /usr/bin/jruby or /usr/bin/ruby19 (previously known as 
/usr/bin/ruby).
And let update-alternatives manage the defaults.
-- 
Miroslav Suchy
Red Hat Systems Management Engineering


More information about the ruby-sig mailing list