librelist archives

« back to archive

packaging and red vs green

packaging and red vs green

From:
Hawley Waldman
Date:
2012-09-07 @ 18:11
I just tried to package up my skeleton of an app so some co-workers could 
give me feed back, but I can't.

Shoes crashes every time I try to package an app.  It crashed when I chose
package.. from the file menu, both with and without the app running, and 
it hung/ did nothing when I opened shoes and selected package an app from 
the first little window of options.

I used the search box in issues on the github repo and found a bunch of 
reports of this same issue, most closed, but seemingly without actually 
fixing the bug that causes the crash, and without setting up a wiki page 
explaining the undocumented way to package a shoes app.

issue 153 is a thread where some one was reporting that the packager 
crashes on osx and steve replied:

https://github.com/shoes/shoes/issues/153


> Cool. The third way is totally undocumented, but it's how I compile 
Hackety Hack. You need a .app.yml file, and you can compile rake APP=.... 
instead of just rake.
> 
> If I remember correctly, the packager via the menu has been broken for a
bit. I really do need to take a look into it, so this is a good bug 
report.

This isn't explicit enough for me.  Can anybody give me a more detailed 
explanation?

I would be happy to work on fixing this, at least disabling the menu 
options and adding something to the manual or wiki, but I'm now wondering 
if I'm running in the best shoes, plain/red shoes, or if green_shoes is 
the most up to date  and functional (osX 10.6.8 ) version of shoes in the 
pre shoes4 colors?

I really want shoes to revive/reform/grow and multiply, but I'm getting a 
bit frustrated; probably time to walk away from the computer and go mow 
the lawn.

Hawley

Re: [shoes] packaging and red vs green

From:
Sebastjan Hribar
Date:
2012-09-07 @ 18:22
Dne 07.09.2012 (pet) ob 14:11 -0400 je Hawley Waldman napisal(a):
> I just tried to package up my skeleton of an app so some co-workers 
could give me feed back, but I can't.
> 
> Shoes crashes every time I try to package an app.  It crashed when I 
chose package.. from the file menu, both with and without the app running,
and it hung/ did nothing when I opened shoes and selected package an app 
from the first little window of options.
> 
> I used the search box in issues on the github repo and found a bunch of 
reports of this same issue, most closed, but seemingly without actually 
fixing the bug that causes the crash, and without setting up a wiki page 
explaining the undocumented way to package a shoes app.
> 
> issue 153 is a thread where some one was reporting that the packager 
crashes on osx and steve replied:
> 
> https://github.com/shoes/shoes/issues/153
> 
> 
> > Cool. The third way is totally undocumented, but it's how I compile 
Hackety Hack. You need a .app.yml file, and you can compile rake APP=.... 
instead of just rake.
> > 
> > If I remember correctly, the packager via the menu has been broken for
a bit. I really do need to take a look into it, so this is a good bug 
report.
> 
> This isn't explicit enough for me.  Can anybody give me a more detailed 
explanation?
> 
> I would be happy to work on fixing this, at least disabling the menu 
options and adding something to the manual or wiki, but I'm now wondering 
if I'm running in the best shoes, plain/red shoes, or if green_shoes is 
the most up to date  and functional (osX 10.6.8 ) version of shoes in the 
pre shoes4 colors?
> 
> I really want shoes to revive/reform/grow and multiply, but I'm getting 
a bit frustrated; probably time to walk away from the computer and go mow 
the lawn.
> 
> Hawley

As ashbb instructed me, so I am passing it on: in green shoes you can
package an app with "gshoes -p". This prompts you to open an file.
However you can't select multiple files. To do so you have to select the
parent folder.

See also:
http://librelist.com/browser//shoes/2011/12/23/green-shoes-v1-1-released/

I do have problem running the packaged app on my Ubuntu. It doesn't
recognizes it.

Oh, and this only packages the actual "app files you wrote", which is
all I need. I just need to get it running.

regards,
seba

Re: [shoes] packaging and red vs green

From:
Hawley Waldman
Date:
2012-09-07 @ 18:27
> As ashbb instructed me, so I am passing it on: in green shoes you can
> package an app with "gshoes -p". This prompts you to open an file.
> However you can't select multiple files. To do so you have to select the
> parent folder.
> 
> See also:
> http://librelist.com/browser//shoes/2011/12/23/green-shoes-v1-1-released/
> 
> I do have problem running the packaged app on my Ubuntu. It doesn't
> recognizes it.
> 
> Oh, and this only packages the actual "app files you wrote", which is
> all I need. I just need to get it running.
> 
> regards,
> seba

Hmmn,  I'm looking to have a complete stand alone package so that I can 
give people the app and they don't need to deal with installing ruby and 
all other libraries. Is this the only option for green_shoes?  and does 
any one know which color will be most helpful on a mac running osx 10.6.8?

-Hawley

Re: [shoes] packaging and red vs green

From:
Sebastjan Hribar
Date:
2012-09-08 @ 07:23
Dne 07.09.2012 (pet) ob 14:27 -0400 je Hawley Waldman napisal(a):
> > As ashbb instructed me, so I am passing it on: in green shoes you can
> > package an app with "gshoes -p". This prompts you to open an file.
> > However you can't select multiple files. To do so you have to select the
> > parent folder.
> > 
> > See also:
> > http://librelist.com/browser//shoes/2011/12/23/green-shoes-v1-1-released/
> > 
> > I do have problem running the packaged app on my Ubuntu. It doesn't
> > recognizes it.
> > 
> > Oh, and this only packages the actual "app files you wrote", which is
> > all I need. I just need to get it running.
> > 
> > regards,
> > seba
> 
> Hmmn,  I'm looking to have a complete stand alone package so that I can 
give people the app and they don't need to deal with installing ruby and 
all other libraries. Is this the only option for green_shoes?  and does 
any one know which color will be most helpful on a mac running osx 10.6.8?

I know, a full package would be ideal for me too, but currently as I
understand that is only possible in red. Still, I'll stick to green for
now. Which brings me to next question. How do I run the .gsy app?

As I said before Ubuntu doesn't recognizes it. I tried the terminal as
well but no success.

seba

Re: [shoes] packaging and red vs green

From:
James Gifford
Date:
2012-09-08 @ 11:45
I created a Debian package for green shoes apps.

It requires you to add a PPA on Ubuntu, so it might not be worth it.
Anyway, here is the stuff

https://github.com/jrgifford/ruby-debian-packaging - this is the Debian
folder

I tried to make it simple, maybe there is something useful there.
Cheers,
James Gifford
On Sep 8, 2012 3:23 AM, "Sebastjan Hribar" <sebastjan.hribar@gmail.com>
wrote:

> Dne 07.09.2012 (pet) ob 14:27 -0400 je Hawley Waldman napisal(a):
> > > As ashbb instructed me, so I am passing it on: in green shoes you can
> > > package an app with "gshoes -p". This prompts you to open an file.
> > > However you can't select multiple files. To do so you have to select
> the
> > > parent folder.
> > >
> > > See also:
> > >
> http://librelist.com/browser//shoes/2011/12/23/green-shoes-v1-1-released/
> > >
> > > I do have problem running the packaged app on my Ubuntu. It doesn't
> > > recognizes it.
> > >
> > > Oh, and this only packages the actual "app files you wrote", which is
> > > all I need. I just need to get it running.
> > >
> > > regards,
> > > seba
> >
> > Hmmn,  I'm looking to have a complete stand alone package so that I can
> give people the app and they don't need to deal with installing ruby and
> all other libraries. Is this the only option for green_shoes?  and does any
> one know which color will be most helpful on a mac running osx 10.6.8?
>
> I know, a full package would be ideal for me too, but currently as I
> understand that is only possible in red. Still, I'll stick to green for
> now. Which brings me to next question. How do I run the .gsy app?
>
> As I said before Ubuntu doesn't recognizes it. I tried the terminal as
> well but no success.
>
> seba
>
>

Re: [shoes] packaging and red vs green

From:
ashbb
Date:
2012-09-08 @ 08:08
Hi Hawley and Sebastjan,

> I know, a full package would be ideal for me too, but currently
> as I understand that is only possible in red.
Yes, and only on Windows.
I guess that it doesn't work with the latest libraries on Linux and Mac.

> How do I run the .gsy app?
Open console window and type: gshoes xxxx.gsy

On Windows, if you edit the Windows registry file by hand,
the .gsy file will be executed by double-clicking.
Sorry, I don't know how to do it in Linux and Mac. xx-P

ashbb