News for hackers. Stuff that matters.

Ruby help on Jailbroken iOS

I'm having issues with Ruby on iOS. Any gem command fails. If I try to gem update:

mobile$ gem update

Updating installed gems dyld: lazy symbol binding failed: Symbol not found: __OSSwapInt16 Referenced from: /usr/lib/ruby/1.9.1/arm-darwin9/socket.bundle Expected in: flat namespace

dyld: Symbol not found: __OSSwapInt16 Referenced from: /usr/lib/ruby/1.9.1/arm-darwin9/socket.bundle Expected in: flat namespace

Trace/BPT trap: 5

What's interesting is ruby -v shows 1.9.2:

mobile$ ruby -v

ruby 1.9.2p0 (2010-08-18 revision 29036) [arm-darwin9] Any ideas on how to fix? I've tried removing Ruby package via Cydia and reinstalling but it's the same.

( 3 comments | on HN )
Re:Ruby help on Jailbroken iOS by astrodust on Sunday August 19, 2012 @04:52AM (#4403606)
Stack Overflow, perhaps? This is not the place for that sort of thing.
Re:Ruby help on Jailbroken iOS by viper1092 on Sunday August 19, 2012 @03:00PM (#4404811)
Thank you for your useless attempt to be a jerk.

If this is not the place for "that sort of thing", why are there various "Ask HN" type posts a la http://news.ycombinator.com/item?id=4403897 ?

My apologies for feeding the trolls here, but it seems HN is a hostile and destructive environment.

Re:Ruby help on Jailbroken iOS by astrodust on Sunday August 19, 2012 @10:40PM (#4406057)
Number of "Help me with my Ruby code" posts that get constructive answers on HN: Zero.

Number of "Help me with my Ruby code" posts that get constructive answers on Stack Overflow: Nearly All.

There's a place for everything. Don't accuse me of being a jerk for pointing that out.

The kind of content that's best suited to Hacker News is something that has general appeal to people in the development, start-up, or general technical scene. Your specific problem, no matter how important it is to you personally, is not that sort of thing.

Stack Overflow is specifically designed to answer these sorts of questions. Why are you throwing a fit when that's your best option?