I've been using ocra to convert my ruby files to a window executable, but I notice that it takes a very long time if I use ruby GUI like fxruby or green_shoes. Is there any way to reduce the amount of time it takes for the program to pop up? My current fxruby and green_shoes file is very simple, but it takes about a minute for the compiled exe file to run.
Here is my fxruby.rb file:
require 'fox16'
include Fox
theApp = FXApp.new
theMainWindow = FXMainWindow.new(theApp, "Hello")
theButton = FXButton.new(theMainWindow, "Hello, world!")
theButton.connect(SEL_COMMAND) do |sender, selector, data|
exit
end
theApp.create
theMainWindow.show
theApp.run
and here is my green_shoes.rb:
require 'green_shoes'
Shoes.app do
button "OK!"
button "Are you sure?"
end
Any strategies to get these to run faster? Or maybe another ruby GUI option that would be faster? thank you!!