ruby application?

R

Rolando Abarca

Hi all,
I've written a library to read/write the ipod tracklist, now I want to
write a small application that can put/remove songs from an ipod (as a
replacement for itunes), for that I want to use FOX GUI.
Is there a standard way to create a ruby application? I've looked at
rubyscript2exe, but haven't tested it with FOX yet... are there more
options?
 
D

David Vallner

--------------enig93B105F39AC4990FFBBF8AD7
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Rolando said:
Hi all,
I've written a library to read/write the ipod tracklist, now I want to
write a small application that can put/remove songs from an ipod (as a
replacement for itunes), for that I want to use FOX GUI.
Is there a standard way to create a ruby application? I've looked at
rubyscript2exe, but haven't tested it with FOX yet... are there more
options?
=20

If it's personal code, just use a starter script? Rubyscript2exe is more
of a workaround when dealing with people that would be dead scared of
Ruby without having stuff in an .exe file.

David Vallner


--------------enig93B105F39AC4990FFBBF8AD7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFJDwMy6MhrS8astoRAkT1AJ96FfyCm028QzAddDriIC+CEUvPrgCdGoqv
N1nhpj0TydyyNOmYLKiMjoo=
=ScWF
-----END PGP SIGNATURE-----

--------------enig93B105F39AC4990FFBBF8AD7--
 
R

Rolando Abarca

If it's personal code, just use a starter script? Rubyscript2exe is more
of a workaround when dealing with people that would be dead scared of
Ruby without having stuff in an .exe file.

that's the problem... I would like the app to be in the ipod and use
it in any computer, no matter if the pc has ruby && fox or not.
Is this posible or not?
 
D

David Vallner

--------------enig094ABEE9415F83D31D40C1AC
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Rolando said:
that's the problem... I would like the app to be in the ipod and use
it in any computer, no matter if the pc has ruby && fox or not.
Is this posible or not?
=20

The PC -has- to have Ruby and Fox in one way or another for that app to
work. With rubyscript2exe, you just stuff all of the Ruby libraries you
use, and the Fox libraries into the .exe file. If you have enough place
spare on the iPod to just copy over your C:\Ruby folder on it, maybe
without third-party libraries you don't need for the application (likely
any gems that aren't Fox and the whole of site_ruby if you're using the
one-click installer), it will work just as well with a .bat file to set
up things - e.g. put the current directory into PATH and use rubyw.exe
your_app.rb

The difference is basically that rubyscript2exe lets you hide Ruby being
involved under the carpet - so go for that if that's what you need. Both
alternatives work if you just need to run the script on another
computer, I haven't really used rubyscript2exe, so I can't tell if it's
easier to set up with a binary gem dependency involved than this.

David Vallner


--------------enig094ABEE9415F83D31D40C1AC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFJN1iy6MhrS8astoRAvr6AJ9Z2RXcp3Pfuh/dDNOhSN++NxwTSgCfccTw
2ijHoSn0e1dJMA0uUHFD+l4=
=G/QM
-----END PGP SIGNATURE-----

--------------enig094ABEE9415F83D31D40C1AC--
 
L

Leslie Viljoen

Hi all,
I've written a library to read/write the ipod tracklist, now I want to
write a small application that can put/remove songs from an ipod (as a
replacement for itunes), for that I want to use FOX GUI.
Is there a standard way to create a ruby application? I've looked at
rubyscript2exe, but haven't tested it with FOX yet... are there more
options?

I have used it fine with Fox. But I have noticed that it often seems
to include files it doesn't need. I'm not sure why that is, but in my
own projects, if I need the EXE to be small, I extract all the files
and cut things down by hand.

Les
 
R

Rolando Abarca

I have used it fine with Fox. But I have noticed that it often seems
to include files it doesn't need. I'm not sure why that is, but in my
own projects, if I need the EXE to be small, I extract all the files
and cut things down by hand.

Les

ok, thanks. I'll give it a try then.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,710
Latest member
bernietqt

Latest Threads

Top