Rubygame on OS X shebang problem

Posted by Mk12 on Stack Overflow See other posts from Stack Overflow or by Mk12
Published on 2010-01-02T03:59:27Z Indexed on 2010/05/09 4:08 UTC
Read the original article Hit count: 261

Filed under:
|
|
|

I'm playing around with Rubygame. I installed it with the Mac Pack, and now I have the rsdl executable. rsdl game.rb works fine, but when I chmod +x the rb file, add the shebang to rsdl (tried direct path and /usr/bin/env rsdl) and try to execute it (./game.rb), it starts to flicker between the Terminal and rsdl which is trying to open, and eventually gives up and gives a bus error. Anyone know what's causing that? I'm on Snow Leopard (10.6.2) if it makes a difference.

Thanks.

© Stack Overflow or respective owner

Related posts about ruby

Related posts about rubygame