问题描述
除了Shoes之外,还有什么方法可以开发和分发用Ruby编写的跨平台GUI桌面应用程序?
Is there any way besides Shoes to develop and distribute cross-platform GUI desktop applications written in Ruby?
我开始相信_why应用程序的普遍错误如果出现鞋的问题,那么它就会瘫痪,而且比两键形式复杂的事情很难维护。
I come to believe that general bugginess of _why's applications is exceptionally crippling in case of Shoes, and anything more complex than a two-button form is a pain to maintain.
RubyGTK,wxRuby等似乎很有希望,但他们确实做到了不能以不需要在用户计算机上预装Ruby的方式解决分发应用程序的问题-像ruby2exe这样的库似乎已经过时且不完整。
RubyGTK, wxRuby, etc seem to be promising, but they do not solve the issue of distributing an app in a way that doesn't require Ruby pre-installed on users' computers — and libraries like ruby2exe seem to be horribly out-of-date and incomplete.
通常-当前的流行趋势是什么?
Generally — what is the current fad?
BTW:如果在Python中有一个非常简单的解决方案,我可以考虑重做
BTW: if there is a really easy solution to this in Python, I may consider redoing the stuff I'm up to in Python.
推荐答案
我不知道ruby2exe,但是py2exe可以做到完美。即使有wxWidgets之类的库。 编辑:您甚至不必要求用户安装wxWidgets,它与应用程序捆绑在一起(py2app也是如此)
I don't know about ruby2exe, but py2exe works perfeclty fine. Even with librairies like wxWidgets. Edit: you don't even have to ask the user to install wxWidgets, it's bundled with the app (same goes for py2app)
I将其用于我很小的项目。
I use it for my very small project here.
对于Mac人群,py2app也可以与wxWidgets配合使用。
For the Mac crowd, py2app works fine too with wxWidgets.
这篇关于分发Ruby / Python桌面应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!