如何打包 Ruby 应用程序?
我有一个使用 Qt 4 绑定的 Ruby 应用程序。我希望能够打包并发布它。
我查看了其他应用程序,例如 rake 和 puppet,以了解它们是如何打包的。耙子和傀儡都被包装为宝石。当我意识到 rake 和 puppet 都是系统级工具而不是用户级应用程序时,我开始沿着这条路线走下去。
我也看了orca,但它只是窗户。
除了 gem 或 orca 之外,还有其他选项可用于打包 Ruby GUI 应用程序吗?我想要一些跨平台的东西。
I've got an application in Ruby that uses the Qt 4 bindings. I want to be able to package and release it.
I've looked at other applications such as rake and puppet to see how they're packaged. Both rake and puppet are packaged as gems. I started going down this route when I realized that both rake and puppet are more system level tools rather than user-level applications.
I also looked at orca, but it's windows only.
Are there other options available for packaging a Ruby GUI app other than gem or orca? I'd like something that's cross platform.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看 gem 的平台规范。您可以为您的代码支持的每个平台打包一个 gem。
Take a look at the platform specification for gems. You can package up a gem for each platform that your code supports.