Hi Eloy, Thanks for responding. I tried to add the --stdlib rexml command and I now get an error about fileutils not being available. I was reading in Matt's excellent book (does that count as a quote?) that the --stdlib can only load one library rather than the entire set of libraries when I pass --embed? I looked in the structure of my app and the rexml/encodings/ folder is present in the app when I deploy with --embed but the UTF-8.rb file isn't there. There is a UTF-8.rbo file. Is this because I am deploying with --compile and --embed? Thank you, Shaun On 2011-10-05, at 12:27 AM, Eloy DurĂ¡n wrote:
Did you include the standard library when running macruby_deploy? If you are excluding it, then you should be able to fix this with passing this to macruby_deploy: `--stdlib rexml`.
On Oct 3, 2011, at 6:32 AM, saugust wrote:
Hi Everyone,
I am trying to deploy an app that uses XMLSimple and I am getting an error when I try to run the app on computers other than my own.
Here is the error message:
11-10-02 9:14:17.289 PM [0x0-0x39039].com.blah.blah: /Users/me/Desktop/MyApp.app/Contents/Resources/rb_main.rb:18:in `block': no such file to load -- rexml/encodings/UTF-8.rb (LoadError)
The only difference I can see is my development machine is running ruby 1.9.2 and the test environment is still at 1.8.6. Should the REXML be looking to the MacRuby framework? I am using XMLSimple as a file in my app not a gem.
Any suggestions would be greatly appreciated.
Thank you,
Shaun
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel