Q:

Can JavaScript do as much as Ruby for mobile app development--framework comparison

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? 

A:

Based on the answers I've seen here, and the research I've conducted, here is what I have concluded:

Ruby has a large library ecosystem for various programming tasks. I've found no shortage of pure-Ruby gems that can be added to Rhomobile via its extension API for parsing RSS, and for implementing IRC functionality.  
JavaScript, even with such library packages as JQuery and Prototype, seems much more focused on the display side of mobile development. The available libraries for IRC and RSS parsing seem thinner and, in many cases, dependent on server-side programming for the heavy lifting. 

As a result, I am going to go with Rhomobile, as Ruby is better suited for the domains that I am targeting with my apps. Of course I will still have to learn JavaScript to handle the UI side of the equation, which I will do. 

