Re: JRuby masterplan for F19 - RFC

2013-01-08 Thread Vít Ondruch
Dne 8.1.2013 11:46, Miroslav Suchý napsal(a): On 12/13/2012 08:31 AM, Vít Ondruch wrote: Yes, we have, but you need to have root privileges to use them. That is not cool. Why is not cool? If everything with #!ruby should be executed by jruby instead of cRuby, then I would expect that I need r

Re: JRuby masterplan for F19 - RFC

2013-01-08 Thread Miroslav Suchý
On 12/13/2012 08:31 AM, Vít Ondruch wrote: Yes, we have, but you need to have root privileges to use them. That is not cool. Why is not cool? If everything with #!ruby should be executed by jruby instead of cRuby, then I would expect that I need root privileges for this change. -- Miroslav S

Re: JRuby masterplan for F19 - RFC

2012-12-14 Thread Vít Ondruch
Dne 13.12.2012 15:56, Michal Fojtik napsal(a): On 12/04, Vít Ondruch wrote: I should also point out that you can try to use different rubies such as: $ ruby _mri_ -v $ ruby _jruby_ -v How about: $ RUBY_PLATFORM=mri ruby -v $ RUBY_PLATFORM=jruby ruby -v I would consider it as alternative. W

Re: JRuby masterplan for F19 - RFC

2012-12-13 Thread Michal Fojtik
On 12/04, Vít Ondruch wrote: > Dne 4.12.2012 15:54, Bohuslav Kabrda napsal(a): > >I have just pushed all of this stuff into my testing repo [1] (the > >/usr/bin/ruby stub, modified MRI Ruby, etc.), so you can test that > >now. For me, it seems to work. I call the stub "multiruby" > >(actually Vit's

Re: JRuby masterplan for F19 - RFC

2012-12-13 Thread Vít Ondruch
Dne 13.12.2012 13:15, Michal Fojtik napsal(a): On 12/13, Vít Ondruch wrote: Dne 13.12.2012 10:02, Michal Fojtik napsal(a): On 12/13, Vít Ondruch wrote: Dne 12.12.2012 18:36, Miroslav Suchý napsal(a): On 11/29/2012 09:43 AM, Bohuslav Kabrda wrote: - Two connected problems: 1) RPM generates au

Re: JRuby masterplan for F19 - RFC

2012-12-13 Thread Michal Fojtik
On 12/13, Vít Ondruch wrote: > Dne 13.12.2012 10:02, Michal Fojtik napsal(a): > >On 12/13, Vít Ondruch wrote: > >>Dne 12.12.2012 18:36, Miroslav Suchý napsal(a): > >>>On 11/29/2012 09:43 AM, Bohuslav Kabrda wrote: > - Two connected problems: 1) RPM generates auto provides from > shebangs, e

Re: JRuby masterplan for F19 - RFC

2012-12-13 Thread Vít Ondruch
Dne 13.12.2012 11:50, Vít Ondruch napsal(a): Dne 13.12.2012 10:02, Michal Fojtik napsal(a): On 12/13, Vít Ondruch wrote: Dne 12.12.2012 18:36, Miroslav Suchý napsal(a): On 11/29/2012 09:43 AM, Bohuslav Kabrda wrote: - Two connected problems: 1) RPM generates auto provides from shebangs, e.g.

Re: JRuby masterplan for F19 - RFC

2012-12-13 Thread Vít Ondruch
Dne 13.12.2012 10:02, Michal Fojtik napsal(a): On 12/13, Vít Ondruch wrote: Dne 12.12.2012 18:36, Miroslav Suchý napsal(a): 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 rub

Re: JRuby masterplan for F19 - RFC

2012-12-13 Thread Vít Ondruch
Dne 13.12.2012 10:08, Marek Jelen napsal(a): BTW, is it not the default behavior? There should be no jruby executable in the official distro. -- mj I am not sure I understand to your point. Vít ___ ruby-sig mailing list ruby-sig@lists.fedoraprojec

Re: JRuby masterplan for F19 - RFC

2012-12-13 Thread Marek Jelen
BTW, is it not the default behavior? There should be no jruby executable in the official distro. -- mj On Dec 13, 2012, at 10:02 AM, Michal Fojtik wrote: > On 12/13, Vít Ondruch wrote: >> Dne 12.12.2012 18:36, Miroslav Suchý napsal(a): >>> On 11/29/2012 09:43 AM, Bohuslav Kabrda wrote: - T

Re: JRuby masterplan for F19 - RFC

2012-12-13 Thread Michal Fojtik
On 12/13, Vít Ondruch wrote: > Dne 12.12.2012 18:36, Miroslav Suchý napsal(a): > >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 w

Re: JRuby masterplan for F19 - RFC

2012-12-12 Thread Vít Ondruch
Dne 12.12.2012 18:36, Miroslav Suchý napsal(a): 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?

Re: JRuby masterplan for F19 - RFC

2012-12-12 Thread Miroslav Suchý
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/alte

Re: JRuby masterplan for F19 - RFC

2012-12-05 Thread Bohuslav Kabrda
- Original Message - > Dne 4.12.2012 15:54, Bohuslav Kabrda napsal(a): > > I have just pushed all of this stuff into my testing repo [1] (the > > /usr/bin/ruby stub, modified MRI Ruby, etc.), so you can test that > > now. For me, it seems to work. I call the stub "multiruby" > > (actually >

Re: JRuby masterplan for F19 - RFC

2012-12-04 Thread Vít Ondruch
Dne 4.12.2012 15:54, Bohuslav Kabrda napsal(a): I have just pushed all of this stuff into my testing repo [1] (the /usr/bin/ruby stub, modified MRI Ruby, etc.), so you can test that now. For me, it seems to work. I call the stub "multiruby" (actually Vit's idea :) ) and its upstream is at [2] (

Re: JRuby masterplan for F19 - RFC

2012-12-04 Thread Vít Ondruch
Dne 4.12.2012 15:54, Bohuslav Kabrda napsal(a): I call the stub "multiruby" (actually Vit's idea :) ) Well, if you have better idea how to name it, please speak out now :) Considering that this method is similar to Alternatives [1] and Environment modules [2], may be we should find some bette

Re: JRuby masterplan for F19 - RFC

2012-12-04 Thread Bohuslav Kabrda
- Original Message - > >>> - 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've discussed this situation with V

Re: JRuby masterplan for F19 - RFC

2012-12-03 Thread Mo Morsi
On 12/03/2012 02:54 AM, Bohuslav Kabrda wrote: > - Original Message - >> Dne 29.11.2012 09:43, Bohuslav Kabrda napsal(a): >>> Hi all, >>> as F19 is slowly approaching, I thought it'd be great to finalize >>> the stuff about JRuby/Ruby integration with Fedora. Here are the >>> changes and ad

Re: JRuby masterplan for F19 - RFC

2012-12-02 Thread Bohuslav Kabrda
- Original Message - > Dne 29.11.2012 09:43, Bohuslav Kabrda napsal(a): > > Hi all, > > as F19 is slowly approaching, I thought it'd be great to finalize > > the stuff about JRuby/Ruby integration with Fedora. Here are the > > changes and additions around JRuby, that I suggest: > > * Global

Re: JRuby masterplan for F19 - RFC

2012-11-29 Thread Vít Ondruch
Dne 29.11.2012 09:43, Bohuslav Kabrda napsal(a): Hi all, as F19 is slowly approaching, I thought it'd be great to finalize the stuff about JRuby/Ruby integration with Fedora. Here are the changes and additions around JRuby, that I suggest: * Global changes - As already mentioned in [1], change

JRuby masterplan for F19 - RFC

2012-11-29 Thread Bohuslav Kabrda
Hi all, as F19 is slowly approaching, I thought it'd be great to finalize the stuff about JRuby/Ruby integration with Fedora. Here are the changes and additions around JRuby, that I suggest: * Global changes - As already mentioned in [1], change the default operating_system.rb, the current versi