whats the best way to package deploy a Ruby app to windows??? (noUI, also standalone if possible)

G

Greg Hauptmann

Hi,

Whats the best way to package deploy a Ruby app to windows??? (no UI,
also standalone if possible)

In other words a tools I can create a normal windows installation
package, or self extracting package, so that non-techo's who get the
installation can run it in seemlessly. Would need to be stand alone
(i.e. no requirement for them to have installed Ruby themselves).

Thanks
 
G

Greg Hauptmann

2009/9/15 Greg Hauptmann said:
Hi,

Whats the best way to package deploy a Ruby app to windows??? (no UI,
also standalone if possible)

In other words a tools I can create a normal windows installation
package, or self extracting package, so that non-techo's who get the
installation can run it in seemlessly. =A0Would need to be stand alone
(i.e. no requirement for them to have installed Ruby themselves).

Thanks

PS. In fact I am interested in the same question for Windows & Mac so
thought I could point that out. Would be great if there was a tool
that spat out both installation packages at the same time.
 
M

Michael Linfield

Greg said:
Hi,

Whats the best way to package deploy a Ruby app to windows??? (no UI,
also standalone if possible)

In other words a tools I can create a normal windows installation
package, or self extracting package, so that non-techo's who get the
installation can run it in seemlessly. Would need to be stand alone
(i.e. no requirement for them to have installed Ruby themselves).

Thanks

But this would defy the point of an interpretive language o_O

If deploying is something your interested in, consider a compiled
language?

Regards,

- Mac
 
L

Luis Lavena

Hi,

Whats the best way to package deploy a Ruby app to windows??? (no UI,
also standalone if possible)

In other words a tools I can create a normal windows installation
package, or self extracting package, so that non-techo's who get the
installation can run it in seemlessly.  Would need to be stand alone
(i.e. no requirement for them to have installed Ruby themselves).

Wrap your program/script around Ocra:

http://ocra.rubyforge.org/

Install the gem, and the execute your script with ocra.

HTH,
 
M

Michael Linfield

Well, regardless of whether or not I think it's a good idea, I'll throw
an idea out for you:

unpack the ruby installation and change the environment path to "."
(current directory).

Should be able to use the entire library that way however this is a
terrible approach. This means you have to move the entire ruby library
around just to have someone use the program (which may be only 200kb for
the program, but then you have to lug around all the libs, resourcefully
expensive).

Regards,

- Mac
 
B

Brian Wallace

C

CParticle

Hi,

Whats the best way to package deploy a Ruby app to windows??? (no UI,
also standalone if possible)

In other words a tools I can create a normal windows installation
package, or self extracting package, so that non-techo's who get the
installation can run it in seemlessly.  Would need to be stand alone
(i.e. no requirement for them to have installed Ruby themselves).

Thanks

Ruby2EXE might be what you are looking for. It allows for multi-
platform executables. Run a search on the Internet you may find more
current documentation. When I used for some windows stuff it worked
well for me, once I wrapped my head around it. Also be aware that
you'll be adding the overhead of the Ruby engine to every script.
Depending on the size and number of scripts you are working with you
may find it isn't suitable for your needs.

http://www.erikveen.dds.nl/rubyscript2exe/


CParticle
 

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

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top