Ruby on Rails ... on my iPhone
Awwwwwwwwwwwwwwwwwwwwwwww, yeah:
That is a screenshot of Ruby on Rails 2.2.2 ... running on my iPhone. I didn't think that anything could be cooler than the iPhone light saber app, but it turns out I was wrong ![]()
It's actually pretty easy to do:
- Jailbreak your iPhone (this allows you to run apps that haven't been signed by Apple; it is easy using the QuickPwn tool but of questionable legality in the USA thanks to the DMCA).
- Using Cydia, install Ruby, WGet, and MobileTerminal.
- As root, use WGet to download the latest RubyGems source, and install it.
- Again as root, install Rails with
gem install rails.
And that's it - create your Rails app, switch to Safari and browse to http://127.0.0.1:3000/.




Nope ...
... no sqlite3-ruby, yet. I've tried installing the Gem and also building the source package from RubyForge, but there are a lot of problems.
DB support
Ok, this is a real challenge, im trying the same with no success, im going crazy!!
The first thing i did when got the iphone is install RoR, but when try to install sqlite3-ruby begins the problems!!!, i'm not alone, lol!!
thanks
Database Support
Just only one question! u installed Rails with DB support (sqlite3 or Mysql) ?
y can't install sqlite3-ruby gem to add DB support to the Rails Framework.