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
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
|
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 |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Tuesday, 26 November 2013, 00:58 GMT
Reason for closing: Won't implement
Tuesday, 26 November 2013, 00:58 GMT
Reason for closing: Won't implement
jruby.sh
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.