Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Having trouble bundling Gosu/Chingu game on OS X
- - By afader Date 2013-04-26 22:23
I've copied my game into the app wrapper and it runs fine with ruby Main.rb, but when I try to run RubyGosu App in the Mac OS directory, it complains about stringio.bundle:

<internal:lib/rubygems/custom_require>:29:in require': dlopen(/Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/stringio.bundle, 9): no suitable image found.  Did find: (LoadError)
  /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/stringio.bundle: no matching architecture in universal wrapper - /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/stringio.bundle
  from <internal:lib/rubygems/custom_require>:29:in
require'
  from /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/yaml/syck.rb:6:in <top (required)>'
  from <internal:lib/rubygems/custom_require>:29:in
require'
  from <internal:lib/rubygems/custom_require>:29:in require'
  from /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/syck.rb:9:in
<top (required)>'
  from <internal:lib/rubygems/custom_require>:29:in require'
  from <internal:lib/rubygems/custom_require>:29:in
require'
  from /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/yaml.rb:16:in yamler='
  from /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/yaml.rb:43:in
<top (required)>'
  from <internal:lib/rubygems/custom_require>:29:in require'
  from <internal:lib/rubygems/custom_require>:29:in
require'
  from /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/lib/chingu.rb:27:in <top (required)>'
  from <internal:lib/rubygems/custom_require>:29:in
require'
  from <internal:lib/rubygems/custom_require>:29:in require'
  from /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/Main.rb:1:in
<top (required)>'
  from <internal:lib/rubygems/custom_require>:29:in require'
  from <internal:lib/rubygems/custom_require>:29:in
require'
  from /Users/Andrew/workspace/sevenstars/RubyGosu App.app/Contents/Resources/gosu/run.rb:11:in `<main>'
Parent - By jlnr (dev) Date 2013-04-29 10:14
You are right, sorry for the trouble. See http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?tid=887.
Parent - By Spooner Date 2013-04-30 09:47
I recommend using my releasy gem to simplify building the app.
Up Topic Gosu / Gosu Exchange / Having trouble bundling Gosu/Chingu game on OS X

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill