Hi ! I''m new to this mailing list ! I''m just beginning to learn ruby programmation, ( so far mainly coded php web apps, and math algorithms with Caml ), so i''m a noob about libraries, toolkits, etc .... I wondered what does the end user need to run wxruby applications ? _ On Windows, he''ll need the ruby interpreter ( such as the one click ruby installer ), and via Rubygems, he has to install the wxruby.gem, that''s all ?? the wxruby .gem package includes both the wxwidgets library itself and the "bridge" to ruby ??? _ on linux, same, the ruby interpreter & rubygems ( via apt-get / urpmi / yum ... ) and then to install the wxruby.gem ?? _ I also came across the 2 tools called "Tar2RubyScript", and "Rubyscript2exe", do these 2 utilities have support for wxruby ?? ( = is it possible to bundle the ruby inpreter, wxruby and all other dependencies in a single .exe ?? if yes do you have links to tutorials explaining how to do it thanks _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
Alex Fenton
2007-Apr-10 03:08 UTC
[Wxruby-users] What does the end user need to run wxruby apps ?
Hi Vinh CHUC wrote:> I wondered what does the end user need to run wxruby applications ? >On Windows and OS X, only the ruby and the wxruby gem is needed - it contains both the wxwidgets library and the bridge to ruby. It''s similar on Linux, except the user must have libgtk2 library installed too. If they''re using GNOME, this will already be installed; if they''re using KDE or another WM, it should certainly be available in any distro via apt. Generally I think it''s fair to say that wxRuby is one of the easiest ruby GUI toolkits to install on Windows and OS X.> _ I also came across the 2 tools called "Tar2RubyScript", and > "Rubyscript2exe", do these 2 utilities have support for wxruby ?? ( = > is it possible to bundle the ruby inpreter, wxruby and all other > dependencies in a single .exe ??Yes, these tools should work well with wxRuby. Myself and others have used rubyscript2exe plus wxruby 0.6.0 to create end-user desktop applications (eg http://www.pressure.to/qda/). This can further be wrapped in an installer (eg http://nsis.sourceforge.net/Main_Page) to create a package that works like a ''normal'' application.> if yes do you have links to tutorials explaining how to do itI haven''t tried with wxruby2-preview, but I can''t think of any reasons why the standard instructions (http://www.erikveen.dds.nl/rubyscript2exe/) shouldn''t work. You might need to use the RUBYSCRIPT2EXE.appdir to find the location of support files such as help files or icons that are required by the app, but this is covered in the rubyscript2exe documentation. I agree it might make a nice topic for a wxruby tutorial - thanks for the suggestion - I''ll try and do something about using wxruby2 and rubyscript2exe. cheers alex
Vinh CHUC
2007-Apr-10 13:36 UTC
[Wxruby-users] What does the end user need to run wxruby apps ?
thanks ! yes it would be cool if someone skilled could write a how-to about wxruby2 & rubyscript2exe here is a similar how-to, written for ruby-gnome & rubyscript2exe http://ruby-gnome2.sourceforge.jp/hiki.cgi?cmd=view&p=tips_rubyscript2exe&key=rubyscript2exe bye -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20070410/f7b5a300/attachment.html