Jan 21
Solving the LoadError for compiled MacRuby apps
I spent an age trying to work out why when I ran something like:
macrubyc main.rb some_lib.rb -o app
I’d get a LoadError trying to run the resultant app binary. Specifying absolute paths when you require all dependent files solved the problem for me.