i am currently looking into GUI libraries for cross platform ruby development. the question i have is.. if i use wxRuby to develop my application, how do i distribute it? is there a way that i can package it up for SIMPLE consumption by osx/lin/win users? my development platform is osx.. thanks!
on 2010-06-07 07:42
on 2010-06-07 08:45
Am 07.06.2010 07:42, schrieb Sergio Ruiz: > i am currently looking into GUI libraries for cross platform ruby > development. the question i have is.. if i use wxRuby to develop my > application, how do i distribute it? is there a way that i can package > it up for SIMPLE consumption by osx/lin/win users? > > my development platform is osx.. > > thanks! hi sergio, for windows user i'm producing a simple exe file using rubyscript2exe. This exe file contains all dependencies, interpreter, wx stuff etc. http://www.erikveen.dds.nl/rubyscript2exe/ I can remember, that i modified the script due to a bug i forgot, but i attached the file that i'm using. for linux in conjunction with the package managers it is (to my mind) not too intelligent to produce an exe file, because such an exe file needs to be extracted and that takes some (unnecessary) seconds. a bit more userfriendly in my opinion is the installation of ruby-gnome2, not on linux, but on windows. refer to: http://ruby-gnome2.sourceforge.jp/hiki.cgi?Install... kind regards, der max
on 2010-06-08 16:35
Maximilian BrÃ¤utigam wrote: > for windows user i'm producing a simple exe file using rubyscript2exe. > This exe file contains all dependencies, interpreter, wx stuff etc. rubyscript2exe.rb is out of date (it cannot not be used with recent versions of RubyGems, at least the unmodified version). Have a look at OCRA instead: http://rubygems.org/gems/ocra As well as rubyscript2exe did it compiles your application together with a Ruby Interpreter and all used gems into a single executable which additionally remains quite small (thanks to lzma compression). In case of Linux users you don't need to worry too much. It's not a big deal to just do something like "sudo apt-get install ruby-full" or the like (depending on used distrubution and Ruby version) followed by a "sudo gem install wxruby". For Mac users I don't know. I never had a Mac. Marvin
on 2010-06-08 18:08
hmm... i am starting to think i might just want to write this app with something else.. my main goals are simplicity for the end user.. on three platforms.. thanks for all the input!
on 2010-06-10 18:31
Hi Sergio, > my main goals are simplicity for the end user.. on three platforms.. I'd be very interested in what you came up with. I've been pondering about that for a while and neither rubyscript2exe nor ocra seemed to work the way I expected them to. Maybe I didn't spend enough effort but it all looked kind of flaky to me. So ... if you don't end up writing Java code - let us know what your solution was :) Cheers, Tony
on 2010-06-10 19:01
> So ... if you don't end up writing Java code - let us know what your > solution was :) > i have decided i will probably go with Qt or cocoa...
on 2010-06-21 07:58
cocoa is great but there will be "3 platforms" - am I wrong? 2010/6/10 Sergio Ruiz <email@example.com>
on 2010-06-21 16:53
Sergey Chernov wrote: > cocoa is great but there will be "3 platforms" - am I wrong? > not sure what you mean..
on 2010-07-06 13:20
Sergio Ruiz wrote: > > hmm... i am starting to think i might just want to write this app with > something else.. > > my main goals are simplicity for the end user.. on three platforms.. > > thanks for all the input! Hello, I was also assessing these weeks the possibility of writing some GUI in wxruby, but I could not find an appropriate program to compile the resulting application for Win/Mac/Linux users. (have you tried ocra or crate?) What did you do in the meantime? have you found some useful program or you changed your mind on writing in wxruby? Cristian
on 2010-07-10 08:21
I meant, you can write a great ui using ruby-cocoa, but it won't work anywhere but on maÓ, while the intention was, as far as I got, make it work on "3 platforms" Yours, Sergey 21.06.2010, × 18:53, Sergio Ruiz <firstname.lastname@example.org> ÎÁÐÉÓÁÌ(Á):
on 2010-07-10 19:03
> For Mac users I don't know. I never had a Mac. I've created a small github project showing how to package wxRuby app using Platypus (http://www.sveinbjorn.org/platypus). It's very quick and dirty solution, but should work for most cases http://github.com/plugawy/miniwx/ (I'm sorry for any grammar/spelling mistakes - english isn't my first language :-)) Åukasz