Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Packaging ruby gtk app

What is the least headache technique to package a gtk2/gtk3 app built with ruby for distribution as an executable, for windows, linux, macos?

I could not find any guides or helpers to resolve this for ruby gtk. Nor the ruby-gnome gem comes with a packager.

It is my understanding that gtk is cross-platform, so it should not be trivial to do this. Problem is I am unable to find anythin reliable to follow as an example and learn the steps.

like image 299
arjun Avatar asked Mar 25 '18 17:03

arjun


1 Answers

I've come across the same problem as you and I've put the question directly to the GTK3 developers.

here is their answer.

Which means that if you choose to use GTK3 today with Ruby, you have to:

  • Deliver MSYS2 and Ruby with your GEM.
  • Deliver your gem and tell users to install themselves msys2 (with updates) and ruby and your gem with dependencies.
like image 54
Mohamed Hakki Avatar answered Dec 26 '22 09:12

Mohamed Hakki