I'm looking at two different mobile frameworks--Rhomobile and PhoneGap--as platforms for creating cross-platform mobile apps. Both frameworks offer similar capabilities in terms of platform support, wrapping a web app into a native executable, and using HTML/JS for the front end.
The primary differences between these two frameworks is how the app/business logic is handled. Rhombile uses a stripped-down version of Ruby that can include various Ruby libraries/gems/etc., giving you access to most of the capabilities of Ruby and its extensions. PhoneGap uses the HTML5/JS/CSS stack.
I'm looking to develop an IRC app and an RSS reader app. Ruby has numerous libraries for these kinds of things. I'm not as clear on JavaScript. I've not been able to find any IRC libraries for JS, and the various RSS libraries I've found appear to depend heavily on server-side/PHP programming as well.
Is JS with HTML5 (WebSocket) a viable option for this kind of application, or am I better off sticking with Ruby?