[wxruby-users] Recommended cross platform deployment methods?
Mario Steele
mario at ruby-im.net
Tue Oct 21 22:05:14 EDT 2008
Well, you already know about rubyscript2exe, which works on all 3
platforms. That's about the only thing I can suggest for it.
On Linux: You create a shortcut, which is basically an INI Type file, with
the extension .desktop, EG: MyProg.desktop, and in it, is the following
info:
[Desktop Entry]
Version=1.0
Exec=/home/eumario/bin/ie6
Icon=/home/eumario/.ies4linux/ies4linux.png
Name=Internet Explorer 6.0
GenericName=Web Browser
Comment=MSIE 6.0 by IEs4Linux
Encoding=UTF-8
Terminal=false
Type=Application
Categories=Application;Network;
This is just a copy of my IEs4Linux. But you can use any name you want in
the Name field, and it doesn't have to match what you named the actual file,
and the name is what will be displayed. It's not like Microsoft, where
there is a proprietary format to the shortcut. ;-)
hth,
Mario
On Tue, Oct 21, 2008 at 2:09 PM, Mark E. <lists at ruby-forum.com> wrote:
> Hey all,
>
> I'm just getting started with wxRuby but I really like it. I have felt
> the joy of writing a simple app (using DialogBlocs & xrcise) and running
> it on Windows and Linux. Ahh. Peace.
>
> Oh, and it didn't suck like my experiences with Java doing the same
> exact simple app. :)
>
> So, my question is, is there a recommended deployment method for
> multiple platforms?
>
> Windows:
> I can create a shortcut to run the application with rubyw so no console
> window shows up. How can I ensure the correct versions of Ruby and
> wxRuby? Can I run it without forcing the user to install either? (Binary
> versions?)
>
> Oh, and I know about script2exe for windows.
>
> Linux:
> I tested on Kubuntu KDE 4.1.2. The same questions about ruby and wxRuby
> versions being installed. How do I create shortcuts to run the
> application using ruby with the comparable "rubyw.exe" option.
>
> Thanks!
> -MarkE
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> wxruby-users mailing list
> wxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wxruby-users
>
--
Mario Steele
http://www.trilake.net
http://www.ruby-im.net
http://rubyforge.org/projects/wxruby/
http://rubyforge.org/projects/wxride/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20081021/a88e3e1f/attachment-0001.html>
More information about the wxruby-users
mailing list