I jailbrake my iPad and want to run Ruby in the console. I installed OpenSSH & Ruby from Saurik. But it is too old (1.9.2) & buggy.

I would like to compile and install the latest version of Ruby on my iPad. Help me, how to do this?

  • Not to dishearten you, but if there is no newer version compiled, it's probably for good reason. Porting something as large as Ruby to iOS isn't exactly easy. Depending on what you are doing this may be of interest: rubymotion.com.
    – Zigsaz
    Commented Aug 1, 2013 at 4:01
  • 1
    Assuming you have build tools working, why not download the Ruby source, ./configure, make, and see what errors pop up? iOS devices are tiny Macs anyway. ruby-lang.org/en/downloads
    – Kevin Chen
    Commented Dec 13, 2013 at 17:11

1 Answer 1


If you have OpenSSH, you may want to connect via SSH to a Unix based computer and run a full version of Ruby. For Mac there is MacRuby, for Linux just install Ruby via your package manager.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .