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

Reply via email to