ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:68733] [Ruby trunk - Feature #11028] [Open] standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
       [not found] <redmine.issue-11028.20150403034409@ruby-lang.org>
@ 2015-04-03  3:44 ` zaxebo1
  2015-04-03  3:52 ` [ruby-core:68734] [Ruby trunk - Feature #11028] " zaxebo1
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: zaxebo1 @ 2015-04-03  3:44 UTC (permalink / raw
  To: ruby-core

Issue #11028 has been reported by zaxebo zaxebo.

----------------------------------------
Feature #11028: standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
https://bugs.ruby-lang.org/issues/11028

* Author: zaxebo zaxebo
* Status: Open
* Priority: Urgent
* Assignee: 
----------------------------------------
standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
prior examples in other languages:
    python myprg.pyz
    java -jar myprg.jar

Detailed Description:
---------------------
In python, if i have multiple program files: "a1.py, a2.py, __main__.py,
  dir1/b1.py, dir1/b2.py" and then i zip it as myprogram1.pyz
then i can run it as "python myprogram.pyz" (__main__.py inside the zip
file will be executed first). It is easy to distribute a single file
myprogram1.pyz

see: http://blogs.gnome.org/jamesh/2012/05/21/python-zip-files/
===
in java also we can bundle all the .class files into a single .jar file
and run it
  java -jar myprogram1.jar
========
Currently in ruby the ".gem" file requires installation using "gem install ...". Then it gives some program file for running.
What i am asking is that some  gem file should have manifest with which they can run directly without installing


That is, i request you to kind provide a feature in ruby that if i have lots of files like: a1.rb , a2.rb, __main__.rb dir1/a4.rb etc.
(say, which uses Ruby-GTK for a Desktop application). Then i should be able to bundle them as zip file, say myprog1.zip or myprog1.pz ( rbz
=ruby's zipped executable archive).
And then i can distribute this "single file" and execute it as:

    ruby myprog1.rbz

This will execute the __main__.rb file among all the other .rb files,
inside this .zip archive myprog1.rbz  .
Note: this .rbz file extension can be .gemz or whatever, but this functionality of "standalone running zipped archives of ruby code running without installation" is essential




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

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

* [ruby-core:68734] [Ruby trunk - Feature #11028] standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
       [not found] <redmine.issue-11028.20150403034409@ruby-lang.org>
  2015-04-03  3:44 ` [ruby-core:68733] [Ruby trunk - Feature #11028] [Open] standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..." zaxebo1
@ 2015-04-03  3:52 ` zaxebo1
  2015-04-03  6:39 ` [ruby-core:68738] [Ruby trunk - Feature #11028] [Assigned] " nobu
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: zaxebo1 @ 2015-04-03  3:52 UTC (permalink / raw
  To: ruby-core

Issue #11028 has been updated by zaxebo zaxebo.


please implement feature of - standalone running single file ( zipped archives of ruby code) running without installation using "gem install ..."

prior examples in other languages:
  python myprg.pyz
  java -jar myprg.jar

Detailed Description:

In python, if i have multiple program files: "a1.py, a2.py, main.py, dir1/b1.py, dir1/b2.py" and then i zip it as myprogram1.pyz
then i can run it as "python myprogram.pyz" (main.py inside the zip file will be executed first). ** It is easy to distribute a single file myprogram1.pyz, instead of many .py files **

see: http://blogs.gnome.org/jamesh/2012/05/21/python-zip-files/

in java also we can bundle all the .class files into a single .jar file and run it
java -jar myprogram1.jar

Currently in ruby the ".gem" file requires installation using "gem install ...". Then it gives some program file for running.
What i am asking is that some gem file can have a manifest with which they can run directly without installing

That is, i request you to kind provide a feature in ruby that if i have lots of files like: a1.rb , a2.rb, main.rb dir1/a4.rb etc.
(say, which uses Ruby-GTK for a Desktop application). Then i should be able to bundle them as zip file, say myprog1.zip or myprog1.pz ( rbz =ruby's zipped executable archive).
And then i can distribute this "single file" and execute it as:

ruby myprog1.rbz

This will execute the main.rb file among all the other .rb files,
inside this .zip archive myprog1.rbz .
Note: this .rbz file extension can be .gemz or whatever, but this functionality of "standalone running zipped archives of ruby code running without installation" is essential


----------------------------------------
Feature #11028: standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
https://bugs.ruby-lang.org/issues/11028#change-52019

* Author: zaxebo zaxebo
* Status: Open
* Priority: Urgent
* Assignee: 
----------------------------------------
standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
prior examples in other languages:
    python myprg.pyz
    java -jar myprg.jar

Detailed Description:
---------------------
In python, if i have multiple program files: "a1.py, a2.py, __main__.py,
  dir1/b1.py, dir1/b2.py" and then i zip it as myprogram1.pyz
then i can run it as "python myprogram.pyz" (__main__.py inside the zip
file will be executed first). It is easy to distribute a single file
myprogram1.pyz

see: http://blogs.gnome.org/jamesh/2012/05/21/python-zip-files/
===
in java also we can bundle all the .class files into a single .jar file
and run it
  java -jar myprogram1.jar
========
Currently in ruby the ".gem" file requires installation using "gem install ...". Then it gives some program file for running.
What i am asking is that some  gem file should have manifest with which they can run directly without installing


That is, i request you to kind provide a feature in ruby that if i have lots of files like: a1.rb , a2.rb, __main__.rb dir1/a4.rb etc.
(say, which uses Ruby-GTK for a Desktop application). Then i should be able to bundle them as zip file, say myprog1.zip or myprog1.pz ( rbz
=ruby's zipped executable archive).
And then i can distribute this "single file" and execute it as:

    ruby myprog1.rbz

This will execute the __main__.rb file among all the other .rb files,
inside this .zip archive myprog1.rbz  .
Note: this .rbz file extension can be .gemz or whatever, but this functionality of "standalone running zipped archives of ruby code running without installation" is essential




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

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

* [ruby-core:68738] [Ruby trunk - Feature #11028] [Assigned] standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
       [not found] <redmine.issue-11028.20150403034409@ruby-lang.org>
  2015-04-03  3:44 ` [ruby-core:68733] [Ruby trunk - Feature #11028] [Open] standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..." zaxebo1
  2015-04-03  3:52 ` [ruby-core:68734] [Ruby trunk - Feature #11028] " zaxebo1
@ 2015-04-03  6:39 ` nobu
  2015-04-03 11:52 ` [ruby-core:68742] [Ruby trunk - Feature #11028] " zaxebo1
  2015-04-04  1:44 ` [ruby-core:68750] " zaxebo1
  4 siblings, 0 replies; 5+ messages in thread
From: nobu @ 2015-04-03  6:39 UTC (permalink / raw
  To: ruby-core

Issue #11028 has been updated by Nobuyoshi Nakada.

Description updated
Status changed from Open to Assigned
Assignee set to Yukihiro Matsumoto
Priority changed from Urgent to Normal

----------------------------------------
Feature #11028: standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
https://bugs.ruby-lang.org/issues/11028#change-52022

* Author: zaxebo zaxebo
* Status: Assigned
* Priority: Normal
* Assignee: Yukihiro Matsumoto
----------------------------------------
standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
prior examples in other languages:

    python myprg.pyz
    java -jar myprg.jar

Detailed Description:
---------------------

In python, if i have multiple program files: "`a1.py`, `a2.py`, `__main__.py`,
  `dir1/b1.py`, `dir1/b2.py`" and then i zip it as myprogram1.pyz
then i can run it as "python myprogram.pyz" (`__main__.py` inside the zip
file will be executed first). It is easy to distribute a single file
myprogram1.pyz

see: http://blogs.gnome.org/jamesh/2012/05/21/python-zip-files/

---
in java also we can bundle all the .class files into a single .jar file
and run it

    java -jar myprogram1.jar

---
Currently in ruby the ".gem" file requires installation using "gem install ...". Then it gives some program file for running.
What i am asking is that some  gem file should have manifest with which they can run directly without installing


That is, i request you to kind provide a feature in ruby that if i have lots of files like: `a1.rb`, `a2.rb`, `__main__.rb`, `dir1/a4.rb` etc.
(say, which uses Ruby-GTK for a Desktop application). Then i should be able to bundle them as zip file, say myprog1.zip or myprog1.pz ( rbz=ruby's zipped executable archive).
And then i can distribute this "single file" and execute it as:

    ruby myprog1.rbz

This will execute the `__main__.rb` file among all the other .rb files,
inside this .zip archive myprog1.rbz  .
Note: this .rbz file extension can be .gemz or whatever, but this functionality of "standalone running zipped archives of ruby code running without installation" is essential




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

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

* [ruby-core:68742] [Ruby trunk - Feature #11028] standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
       [not found] <redmine.issue-11028.20150403034409@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2015-04-03  6:39 ` [ruby-core:68738] [Ruby trunk - Feature #11028] [Assigned] " nobu
@ 2015-04-03 11:52 ` zaxebo1
  2015-04-04  1:44 ` [ruby-core:68750] " zaxebo1
  4 siblings, 0 replies; 5+ messages in thread
From: zaxebo1 @ 2015-04-03 11:52 UTC (permalink / raw
  To: ruby-core

Issue #11028 has been updated by zaxebo zaxebo.


On MS-Windows the zipped archive of ruby source code - can have two file extensions:

-   ".rbz" will be launched by "ruby.exe" . 
     ".rbz" will be registered in MS-Windows registry as ""Ruby ZIP Applications"

-   ".rbzw" will be launched by "rubyw.exe".
        ".rbzw" will be registered in MS-Windows registry as ""Windowed Ruby ZIP Applications"

(This is in sync with python PEP proposal for .pyz and .pyzw file extensions of python)
 


----------------------------------------
Feature #11028: standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
https://bugs.ruby-lang.org/issues/11028#change-52025

* Author: zaxebo zaxebo
* Status: Assigned
* Priority: Normal
* Assignee: Yukihiro Matsumoto
----------------------------------------
standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
prior examples in other languages:

    python myprg.pyz
    java -jar myprg.jar

Detailed Description:
---------------------

In python, if i have multiple program files: "`a1.py`, `a2.py`, `__main__.py`,
  `dir1/b1.py`, `dir1/b2.py`" and then i zip it as myprogram1.pyz
then i can run it as "python myprogram.pyz" (`__main__.py` inside the zip
file will be executed first). It is easy to distribute a single file
myprogram1.pyz

see: http://blogs.gnome.org/jamesh/2012/05/21/python-zip-files/

---
in java also we can bundle all the .class files into a single .jar file
and run it

    java -jar myprogram1.jar

---
Currently in ruby the ".gem" file requires installation using "gem install ...". Then it gives some program file for running.
What i am asking is that some  gem file should have manifest with which they can run directly without installing


That is, i request you to kind provide a feature in ruby that if i have lots of files like: `a1.rb`, `a2.rb`, `__main__.rb`, `dir1/a4.rb` etc.
(say, which uses Ruby-GTK for a Desktop application). Then i should be able to bundle them as zip file, say myprog1.zip or myprog1.pz ( rbz=ruby's zipped executable archive).
And then i can distribute this "single file" and execute it as:

    ruby myprog1.rbz

This will execute the `__main__.rb` file among all the other .rb files,
inside this .zip archive myprog1.rbz  .
Note: this .rbz file extension can be .gemz or whatever, but this functionality of "standalone running zipped archives of ruby code running without installation" is essential




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

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

* [ruby-core:68750] [Ruby trunk - Feature #11028] standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
       [not found] <redmine.issue-11028.20150403034409@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2015-04-03 11:52 ` [ruby-core:68742] [Ruby trunk - Feature #11028] " zaxebo1
@ 2015-04-04  1:44 ` zaxebo1
  4 siblings, 0 replies; 5+ messages in thread
From: zaxebo1 @ 2015-04-04  1:44 UTC (permalink / raw
  To: ruby-core

Issue #11028 has been updated by zaxebo zaxebo.


more references:
 the original feature  requested filed for this in python is at http://bugs.python.org/issue1739468
 It was implemented in python version 2.6 in year 2007 itself. (IMP)
 Now the current python version in year 2015 is version 3.4

----------------------------------------
Feature #11028: standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
https://bugs.ruby-lang.org/issues/11028#change-52029

* Author: zaxebo zaxebo
* Status: Assigned
* Priority: Normal
* Assignee: Yukihiro Matsumoto
----------------------------------------
standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..."
prior examples in other languages:

    python myprg.pyz
    java -jar myprg.jar

Detailed Description:
---------------------

In python, if i have multiple program files: "`a1.py`, `a2.py`, `__main__.py`,
  `dir1/b1.py`, `dir1/b2.py`" and then i zip it as myprogram1.pyz
then i can run it as "python myprogram.pyz" (`__main__.py` inside the zip
file will be executed first). It is easy to distribute a single file
myprogram1.pyz

see: http://blogs.gnome.org/jamesh/2012/05/21/python-zip-files/

---
in java also we can bundle all the .class files into a single .jar file
and run it

    java -jar myprogram1.jar

---
Currently in ruby the ".gem" file requires installation using "gem install ...". Then it gives some program file for running.
What i am asking is that some  gem file should have manifest with which they can run directly without installing


That is, i request you to kind provide a feature in ruby that if i have lots of files like: `a1.rb`, `a2.rb`, `__main__.rb`, `dir1/a4.rb` etc.
(say, which uses Ruby-GTK for a Desktop application). Then i should be able to bundle them as zip file, say myprog1.zip or myprog1.pz ( rbz=ruby's zipped executable archive).
And then i can distribute this "single file" and execute it as:

    ruby myprog1.rbz

This will execute the `__main__.rb` file among all the other .rb files,
inside this .zip archive myprog1.rbz  .
Note: this .rbz file extension can be .gemz or whatever, but this functionality of "standalone running zipped archives of ruby code running without installation" is essential




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

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

end of thread, other threads:[~2015-04-04  1:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <redmine.issue-11028.20150403034409@ruby-lang.org>
2015-04-03  3:44 ` [ruby-core:68733] [Ruby trunk - Feature #11028] [Open] standalone running single file ( zipped archives of ruby code) running **without installation** using "gem install ..." zaxebo1
2015-04-03  3:52 ` [ruby-core:68734] [Ruby trunk - Feature #11028] " zaxebo1
2015-04-03  6:39 ` [ruby-core:68738] [Ruby trunk - Feature #11028] [Assigned] " nobu
2015-04-03 11:52 ` [ruby-core:68742] [Ruby trunk - Feature #11028] " zaxebo1
2015-04-04  1:44 ` [ruby-core:68750] " zaxebo1

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).