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! -- Posted via http://www.ruby-forum.com/.
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+Guide+for+Windows kind regards, der max -------------- next part -------------- A non-text attachment was scrubbed... Name: rubyscript2exe.rb.gz Type: application/x-gzip Size: 2825 bytes Desc: not available URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20100607/7de9fe1c/attachment-0001.gz>
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 -- Posted via http://www.ruby-forum.com/.
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! -- Posted via http://www.ruby-forum.com/.
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 -- Posted via http://www.ruby-forum.com/.
> 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... -- Posted via http://www.ruby-forum.com/.
cocoa is great but there will be "3 platforms" - am I wrong? 2010/6/10 Sergio Ruiz <lists at ruby-forum.com>> > > 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... > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20100621/0e9ce82a/attachment.html>
Sergey Chernov wrote:> cocoa is great but there will be "3 platforms" - am I wrong? >not sure what you mean.. -- Posted via http://www.ruby-forum.com/.
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 -- Posted via http://www.ruby-forum.com/.
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 <lists at ruby-forum.com> ???????(?):> Sergey Chernov wrote: >> cocoa is great but there will be "3 platforms" - am I wrong? >> > > not sure what you mean.. > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users
> 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 -- Posted via http://www.ruby-forum.com/.