ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:46607] [ruby-trunk - Feature #6769][Assigned] rbinstall.rb: install both src and batch files separetely
@ 2012-07-22  1:04 luislavena (Luis Lavena)
  2012-07-23  5:14 ` [ruby-core:46622] [ruby-trunk - Feature #6769] " usa (Usaku NAKAMURA)
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: luislavena (Luis Lavena) @ 2012-07-22  1:04 UTC (permalink / raw)
  To: ruby-core


Issue #6769 has been reported by luislavena (Luis Lavena).

----------------------------------------
Feature #6769: rbinstall.rb: install both src and batch files separetely
https://bugs.ruby-lang.org/issues/6769

Author: luislavena (Luis Lavena)
Status: Assigned
Priority: Normal
Assignee: usa (Usaku NAKAMURA)
Category: misc
Target version: 2.0.0


=begin
Hello,

Current behavior of rbinstall.rb is to concat bin scripts (erb, rake, rdoc, etc) along with a batchfile stub in a single file, resulting in erb.bat, rdoc.bat etc.

Those files works OK when invoked directly, but they do not support the following scenarios:

* Invoke it like "ruby -S rake", which looks for extension-less script in the path (and that does not exist)

* Cannot invoke those scripts from another script, example, from Rake, do "ruby 'rdoc'" will not work.

To circumvent this issue at RubyInstaller, we copied the original bin scripts and replaced the batchfile stubs with simple ones:

https://github.com/oneclick/rubyinstaller/blob/master/recipes/interpreter/ruby19.rake#L188-197

===

I would like to change rbinstall.rb to copy over verbatim bin scripts and simple batchfiles stubs.

That will solve the above two issues I mentioned plus open the scenario to a easy executable-based launcher, similar to gem-exefy:

https://github.com/bosko/gem-exefy

To have identifiable scripts in list of process plus, customized firewall rules and remove the dreaded "Terminate batch job" prompt.

Before I start working on this, I wanted to know what do you think about this?

Thanks in advance for your feedback and looking forward your responses.
=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ruby-core:46622] [ruby-trunk - Feature #6769] rbinstall.rb: install both src and batch files separetely
  2012-07-22  1:04 [ruby-core:46607] [ruby-trunk - Feature #6769][Assigned] rbinstall.rb: install both src and batch files separetely luislavena (Luis Lavena)
@ 2012-07-23  5:14 ` usa (Usaku NAKAMURA)
  2012-07-24 13:32 ` [ruby-core:46724] " luislavena (Luis Lavena)
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: usa (Usaku NAKAMURA) @ 2012-07-23  5:14 UTC (permalink / raw)
  To: ruby-core


Issue #6769 has been updated by usa (Usaku NAKAMURA).


IMO, it's okay.
----------------------------------------
Feature #6769: rbinstall.rb: install both src and batch files separetely
https://bugs.ruby-lang.org/issues/6769#change-28286

Author: luislavena (Luis Lavena)
Status: Assigned
Priority: Normal
Assignee: usa (Usaku NAKAMURA)
Category: misc
Target version: 2.0.0


=begin
Hello,

Current behavior of rbinstall.rb is to concat bin scripts (erb, rake, rdoc, etc) along with a batchfile stub in a single file, resulting in erb.bat, rdoc.bat etc.

Those files works OK when invoked directly, but they do not support the following scenarios:

* Invoke it like "ruby -S rake", which looks for extension-less script in the path (and that does not exist)

* Cannot invoke those scripts from another script, example, from Rake, do "ruby 'rdoc'" will not work.

To circumvent this issue at RubyInstaller, we copied the original bin scripts and replaced the batchfile stubs with simple ones:

https://github.com/oneclick/rubyinstaller/blob/master/recipes/interpreter/ruby19.rake#L188-197

===

I would like to change rbinstall.rb to copy over verbatim bin scripts and simple batchfiles stubs.

That will solve the above two issues I mentioned plus open the scenario to a easy executable-based launcher, similar to gem-exefy:

https://github.com/bosko/gem-exefy

To have identifiable scripts in list of process plus, customized firewall rules and remove the dreaded "Terminate batch job" prompt.

Before I start working on this, I wanted to know what do you think about this?

Thanks in advance for your feedback and looking forward your responses.
=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ruby-core:46724] [ruby-trunk - Feature #6769] rbinstall.rb: install both src and batch files separetely
  2012-07-22  1:04 [ruby-core:46607] [ruby-trunk - Feature #6769][Assigned] rbinstall.rb: install both src and batch files separetely luislavena (Luis Lavena)
  2012-07-23  5:14 ` [ruby-core:46622] [ruby-trunk - Feature #6769] " usa (Usaku NAKAMURA)
@ 2012-07-24 13:32 ` luislavena (Luis Lavena)
  2012-10-26 22:30 ` [ruby-core:48392] " ko1 (Koichi Sasada)
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: luislavena (Luis Lavena) @ 2012-07-24 13:32 UTC (permalink / raw)
  To: ruby-core


Issue #6769 has been updated by luislavena (Luis Lavena).

Assignee changed from usa (Usaku NAKAMURA) to luislavena (Luis Lavena)

Thank you Usa, will work on this.
----------------------------------------
Feature #6769: rbinstall.rb: install both src and batch files separetely
https://bugs.ruby-lang.org/issues/6769#change-28391

Author: luislavena (Luis Lavena)
Status: Assigned
Priority: Normal
Assignee: luislavena (Luis Lavena)
Category: misc
Target version: 2.0.0


=begin
Hello,

Current behavior of rbinstall.rb is to concat bin scripts (erb, rake, rdoc, etc) along with a batchfile stub in a single file, resulting in erb.bat, rdoc.bat etc.

Those files works OK when invoked directly, but they do not support the following scenarios:

* Invoke it like "ruby -S rake", which looks for extension-less script in the path (and that does not exist)

* Cannot invoke those scripts from another script, example, from Rake, do "ruby 'rdoc'" will not work.

To circumvent this issue at RubyInstaller, we copied the original bin scripts and replaced the batchfile stubs with simple ones:

https://github.com/oneclick/rubyinstaller/blob/master/recipes/interpreter/ruby19.rake#L188-197

===

I would like to change rbinstall.rb to copy over verbatim bin scripts and simple batchfiles stubs.

That will solve the above two issues I mentioned plus open the scenario to a easy executable-based launcher, similar to gem-exefy:

https://github.com/bosko/gem-exefy

To have identifiable scripts in list of process plus, customized firewall rules and remove the dreaded "Terminate batch job" prompt.

Before I start working on this, I wanted to know what do you think about this?

Thanks in advance for your feedback and looking forward your responses.
=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ruby-core:48392] [ruby-trunk - Feature #6769] rbinstall.rb: install both src and batch files separetely
  2012-07-22  1:04 [ruby-core:46607] [ruby-trunk - Feature #6769][Assigned] rbinstall.rb: install both src and batch files separetely luislavena (Luis Lavena)
  2012-07-23  5:14 ` [ruby-core:46622] [ruby-trunk - Feature #6769] " usa (Usaku NAKAMURA)
  2012-07-24 13:32 ` [ruby-core:46724] " luislavena (Luis Lavena)
@ 2012-10-26 22:30 ` ko1 (Koichi Sasada)
  2012-10-26 22:53 ` [ruby-core:48403] " luislavena (Luis Lavena)
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ko1 (Koichi Sasada) @ 2012-10-26 22:30 UTC (permalink / raw)
  To: ruby-core


Issue #6769 has been updated by ko1 (Koichi Sasada).


ping.
status?

----------------------------------------
Feature #6769: rbinstall.rb: install both src and batch files separetely
https://bugs.ruby-lang.org/issues/6769#change-31706

Author: luislavena (Luis Lavena)
Status: Assigned
Priority: Normal
Assignee: luislavena (Luis Lavena)
Category: misc
Target version: 2.0.0


=begin
Hello,

Current behavior of rbinstall.rb is to concat bin scripts (erb, rake, rdoc, etc) along with a batchfile stub in a single file, resulting in erb.bat, rdoc.bat etc.

Those files works OK when invoked directly, but they do not support the following scenarios:

* Invoke it like "ruby -S rake", which looks for extension-less script in the path (and that does not exist)

* Cannot invoke those scripts from another script, example, from Rake, do "ruby 'rdoc'" will not work.

To circumvent this issue at RubyInstaller, we copied the original bin scripts and replaced the batchfile stubs with simple ones:

https://github.com/oneclick/rubyinstaller/blob/master/recipes/interpreter/ruby19.rake#L188-197

===

I would like to change rbinstall.rb to copy over verbatim bin scripts and simple batchfiles stubs.

That will solve the above two issues I mentioned plus open the scenario to a easy executable-based launcher, similar to gem-exefy:

https://github.com/bosko/gem-exefy

To have identifiable scripts in list of process plus, customized firewall rules and remove the dreaded "Terminate batch job" prompt.

Before I start working on this, I wanted to know what do you think about this?

Thanks in advance for your feedback and looking forward your responses.
=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ruby-core:48403] [ruby-trunk - Feature #6769] rbinstall.rb: install both src and batch files separetely
  2012-07-22  1:04 [ruby-core:46607] [ruby-trunk - Feature #6769][Assigned] rbinstall.rb: install both src and batch files separetely luislavena (Luis Lavena)
                   ` (2 preceding siblings ...)
  2012-10-26 22:30 ` [ruby-core:48392] " ko1 (Koichi Sasada)
@ 2012-10-26 22:53 ` luislavena (Luis Lavena)
  2012-11-24  0:44 ` [ruby-core:49935] " mame (Yusuke Endoh)
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: luislavena (Luis Lavena) @ 2012-10-26 22:53 UTC (permalink / raw)
  To: ruby-core


Issue #6769 has been updated by luislavena (Luis Lavena).


ko1 (Koichi Sasada) wrote:
> ping.
> status?

Replied in [ruby-core:48192], still working on a patch, might show some progress this weekend.
----------------------------------------
Feature #6769: rbinstall.rb: install both src and batch files separetely
https://bugs.ruby-lang.org/issues/6769#change-31717

Author: luislavena (Luis Lavena)
Status: Assigned
Priority: Normal
Assignee: luislavena (Luis Lavena)
Category: misc
Target version: 2.0.0


=begin
Hello,

Current behavior of rbinstall.rb is to concat bin scripts (erb, rake, rdoc, etc) along with a batchfile stub in a single file, resulting in erb.bat, rdoc.bat etc.

Those files works OK when invoked directly, but they do not support the following scenarios:

* Invoke it like "ruby -S rake", which looks for extension-less script in the path (and that does not exist)

* Cannot invoke those scripts from another script, example, from Rake, do "ruby 'rdoc'" will not work.

To circumvent this issue at RubyInstaller, we copied the original bin scripts and replaced the batchfile stubs with simple ones:

https://github.com/oneclick/rubyinstaller/blob/master/recipes/interpreter/ruby19.rake#L188-197

===

I would like to change rbinstall.rb to copy over verbatim bin scripts and simple batchfiles stubs.

That will solve the above two issues I mentioned plus open the scenario to a easy executable-based launcher, similar to gem-exefy:

https://github.com/bosko/gem-exefy

To have identifiable scripts in list of process plus, customized firewall rules and remove the dreaded "Terminate batch job" prompt.

Before I start working on this, I wanted to know what do you think about this?

Thanks in advance for your feedback and looking forward your responses.
=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ruby-core:49935] [ruby-trunk - Feature #6769] rbinstall.rb: install both src and batch files separetely
  2012-07-22  1:04 [ruby-core:46607] [ruby-trunk - Feature #6769][Assigned] rbinstall.rb: install both src and batch files separetely luislavena (Luis Lavena)
                   ` (3 preceding siblings ...)
  2012-10-26 22:53 ` [ruby-core:48403] " luislavena (Luis Lavena)
@ 2012-11-24  0:44 ` mame (Yusuke Endoh)
  2012-11-25  0:17 ` [ruby-core:50053] " luislavena (Luis Lavena)
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mame (Yusuke Endoh) @ 2012-11-24  0:44 UTC (permalink / raw)
  To: ruby-core


Issue #6769 has been updated by mame (Yusuke Endoh).


Luis, what's the status?

-- 
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Feature #6769: rbinstall.rb: install both src and batch files separetely
https://bugs.ruby-lang.org/issues/6769#change-33697

Author: luislavena (Luis Lavena)
Status: Assigned
Priority: Normal
Assignee: luislavena (Luis Lavena)
Category: misc
Target version: 2.0.0


=begin
Hello,

Current behavior of rbinstall.rb is to concat bin scripts (erb, rake, rdoc, etc) along with a batchfile stub in a single file, resulting in erb.bat, rdoc.bat etc.

Those files works OK when invoked directly, but they do not support the following scenarios:

* Invoke it like "ruby -S rake", which looks for extension-less script in the path (and that does not exist)

* Cannot invoke those scripts from another script, example, from Rake, do "ruby 'rdoc'" will not work.

To circumvent this issue at RubyInstaller, we copied the original bin scripts and replaced the batchfile stubs with simple ones:

https://github.com/oneclick/rubyinstaller/blob/master/recipes/interpreter/ruby19.rake#L188-197

===

I would like to change rbinstall.rb to copy over verbatim bin scripts and simple batchfiles stubs.

That will solve the above two issues I mentioned plus open the scenario to a easy executable-based launcher, similar to gem-exefy:

https://github.com/bosko/gem-exefy

To have identifiable scripts in list of process plus, customized firewall rules and remove the dreaded "Terminate batch job" prompt.

Before I start working on this, I wanted to know what do you think about this?

Thanks in advance for your feedback and looking forward your responses.
=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ruby-core:50053] [ruby-trunk - Feature #6769] rbinstall.rb: install both src and batch files separetely
  2012-07-22  1:04 [ruby-core:46607] [ruby-trunk - Feature #6769][Assigned] rbinstall.rb: install both src and batch files separetely luislavena (Luis Lavena)
                   ` (4 preceding siblings ...)
  2012-11-24  0:44 ` [ruby-core:49935] " mame (Yusuke Endoh)
@ 2012-11-25  0:17 ` luislavena (Luis Lavena)
  2012-11-25  0:34 ` [ruby-core:50054] " mame (Yusuke Endoh)
  2015-10-30 12:38 ` [ruby-core:71280] [Ruby trunk " luislavena
  7 siblings, 0 replies; 9+ messages in thread
From: luislavena (Luis Lavena) @ 2012-11-25  0:17 UTC (permalink / raw)
  To: ruby-core


Issue #6769 has been updated by luislavena (Luis Lavena).

Target version changed from 2.0.0 to next minor

Sorry, was unable to work on this while still working on the other bug/issues.

I'm moving this to next minor.

Either way, RubyInstaller binary distributions have been doing what this ticket describes.

Thank you.
----------------------------------------
Feature #6769: rbinstall.rb: install both src and batch files separetely
https://bugs.ruby-lang.org/issues/6769#change-33829

Author: luislavena (Luis Lavena)
Status: Assigned
Priority: Normal
Assignee: luislavena (Luis Lavena)
Category: misc
Target version: next minor


=begin
Hello,

Current behavior of rbinstall.rb is to concat bin scripts (erb, rake, rdoc, etc) along with a batchfile stub in a single file, resulting in erb.bat, rdoc.bat etc.

Those files works OK when invoked directly, but they do not support the following scenarios:

* Invoke it like "ruby -S rake", which looks for extension-less script in the path (and that does not exist)

* Cannot invoke those scripts from another script, example, from Rake, do "ruby 'rdoc'" will not work.

To circumvent this issue at RubyInstaller, we copied the original bin scripts and replaced the batchfile stubs with simple ones:

https://github.com/oneclick/rubyinstaller/blob/master/recipes/interpreter/ruby19.rake#L188-197

===

I would like to change rbinstall.rb to copy over verbatim bin scripts and simple batchfiles stubs.

That will solve the above two issues I mentioned plus open the scenario to a easy executable-based launcher, similar to gem-exefy:

https://github.com/bosko/gem-exefy

To have identifiable scripts in list of process plus, customized firewall rules and remove the dreaded "Terminate batch job" prompt.

Before I start working on this, I wanted to know what do you think about this?

Thanks in advance for your feedback and looking forward your responses.
=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ruby-core:50054] [ruby-trunk - Feature #6769] rbinstall.rb: install both src and batch files separetely
  2012-07-22  1:04 [ruby-core:46607] [ruby-trunk - Feature #6769][Assigned] rbinstall.rb: install both src and batch files separetely luislavena (Luis Lavena)
                   ` (5 preceding siblings ...)
  2012-11-25  0:17 ` [ruby-core:50053] " luislavena (Luis Lavena)
@ 2012-11-25  0:34 ` mame (Yusuke Endoh)
  2015-10-30 12:38 ` [ruby-core:71280] [Ruby trunk " luislavena
  7 siblings, 0 replies; 9+ messages in thread
From: mame (Yusuke Endoh) @ 2012-11-25  0:34 UTC (permalink / raw)
  To: ruby-core


Issue #6769 has been updated by mame (Yusuke Endoh).


Though it is better if it is implemented in this month, an accepted feature can be implemented up to code freeze (around Christmas).
If you are still having difficulties, it is okay to postpone to next minor.

Thanks,

-- 
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Feature #6769: rbinstall.rb: install both src and batch files separetely
https://bugs.ruby-lang.org/issues/6769#change-33830

Author: luislavena (Luis Lavena)
Status: Assigned
Priority: Normal
Assignee: luislavena (Luis Lavena)
Category: misc
Target version: next minor


=begin
Hello,

Current behavior of rbinstall.rb is to concat bin scripts (erb, rake, rdoc, etc) along with a batchfile stub in a single file, resulting in erb.bat, rdoc.bat etc.

Those files works OK when invoked directly, but they do not support the following scenarios:

* Invoke it like "ruby -S rake", which looks for extension-less script in the path (and that does not exist)

* Cannot invoke those scripts from another script, example, from Rake, do "ruby 'rdoc'" will not work.

To circumvent this issue at RubyInstaller, we copied the original bin scripts and replaced the batchfile stubs with simple ones:

https://github.com/oneclick/rubyinstaller/blob/master/recipes/interpreter/ruby19.rake#L188-197

===

I would like to change rbinstall.rb to copy over verbatim bin scripts and simple batchfiles stubs.

That will solve the above two issues I mentioned plus open the scenario to a easy executable-based launcher, similar to gem-exefy:

https://github.com/bosko/gem-exefy

To have identifiable scripts in list of process plus, customized firewall rules and remove the dreaded "Terminate batch job" prompt.

Before I start working on this, I wanted to know what do you think about this?

Thanks in advance for your feedback and looking forward your responses.
=end



-- 
http://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [ruby-core:71280] [Ruby trunk - Feature #6769] rbinstall.rb: install both src and batch files separetely
  2012-07-22  1:04 [ruby-core:46607] [ruby-trunk - Feature #6769][Assigned] rbinstall.rb: install both src and batch files separetely luislavena (Luis Lavena)
                   ` (6 preceding siblings ...)
  2012-11-25  0:34 ` [ruby-core:50054] " mame (Yusuke Endoh)
@ 2015-10-30 12:38 ` luislavena
  7 siblings, 0 replies; 9+ messages in thread
From: luislavena @ 2015-10-30 12:38 UTC (permalink / raw)
  To: ruby-core

Issue #6769 has been updated by Luis Lavena.

Assignee changed from Luis Lavena to Nobuyoshi Nakada

----------------------------------------
Feature #6769: rbinstall.rb: install both src and batch files separetely
https://bugs.ruby-lang.org/issues/6769#change-54657

* Author: Luis Lavena
* Status: Assigned
* Priority: Normal
* Assignee: Nobuyoshi Nakada
----------------------------------------
=begin
Hello,

Current behavior of rbinstall.rb is to concat bin scripts (erb, rake, rdoc, etc) along with a batchfile stub in a single file, resulting in erb.bat, rdoc.bat etc.

Those files works OK when invoked directly, but they do not support the following scenarios:

* Invoke it like "ruby -S rake", which looks for extension-less script in the path (and that does not exist)

* Cannot invoke those scripts from another script, example, from Rake, do "ruby 'rdoc'" will not work.

To circumvent this issue at RubyInstaller, we copied the original bin scripts and replaced the batchfile stubs with simple ones:

https://github.com/oneclick/rubyinstaller/blob/master/recipes/interpreter/ruby19.rake#L188-197

===

I would like to change rbinstall.rb to copy over verbatim bin scripts and simple batchfiles stubs.

That will solve the above two issues I mentioned plus open the scenario to a easy executable-based launcher, similar to gem-exefy:

https://github.com/bosko/gem-exefy

To have identifiable scripts in list of process plus, customized firewall rules and remove the dreaded "Terminate batch job" prompt.

Before I start working on this, I wanted to know what do you think about this?

Thanks in advance for your feedback and looking forward your responses.
=end




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-10-30 12:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-22  1:04 [ruby-core:46607] [ruby-trunk - Feature #6769][Assigned] rbinstall.rb: install both src and batch files separetely luislavena (Luis Lavena)
2012-07-23  5:14 ` [ruby-core:46622] [ruby-trunk - Feature #6769] " usa (Usaku NAKAMURA)
2012-07-24 13:32 ` [ruby-core:46724] " luislavena (Luis Lavena)
2012-10-26 22:30 ` [ruby-core:48392] " ko1 (Koichi Sasada)
2012-10-26 22:53 ` [ruby-core:48403] " luislavena (Luis Lavena)
2012-11-24  0:44 ` [ruby-core:49935] " mame (Yusuke Endoh)
2012-11-25  0:17 ` [ruby-core:50053] " luislavena (Luis Lavena)
2012-11-25  0:34 ` [ruby-core:50054] " mame (Yusuke Endoh)
2015-10-30 12:38 ` [ruby-core:71280] [Ruby trunk " luislavena

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).