Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#37909 - [jruby] Clean up/added features

Attached to Project: Community Packages
Opened by Marty Plummer (ntzrmtthihu777) - Tuesday, 26 November 2013, 00:21 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 26 November 2013, 00:58 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Just an idea; Instead of making symlinks to /usr/bin/ for the jruby scripts just add the following file as jruby.sh in /etc/profile.d;

Also, jruby.sh and jruby.bash can both be removed from the package as there is next to no difference between them and jruby;

/opt/jruby/bin/jirb could also be added to /etc/shells
   jruby.sh (0.1 KiB)
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 26 November 2013, 00:58 GMT
Reason for closing:  Won't implement
Comment by Marty Plummer (ntzrmtthihu777) - Tuesday, 26 November 2013, 00:22 GMT
Ah crap. Package is jruby; any way I can edit the main feature request?
Comment by Jan Alexander Steffens (heftig) - Tuesday, 26 November 2013, 00:58 GMT
The path choice is significant:
An installed gem, irb, ri, rake or rdoc from system ruby is not overwritten, yet e.g. "jruby -S irb" does launch /opt/jruby/bin/irb.

Using the jruby.sh method also delays any changes until the next profile load (typically at login).

No, jirb has no useful purpose as a login shell.

Loading...