Ruby

Are you looking to avoid reinventing the wheel? You can use the modular code below to help your project along.

Do you need more of a head start? Try building from a mobile framework.

 

Mobile Framework Code

ZURB Foundation
A responsive framework where you can quickly prototype and build sites or apps that work on any kind of device with Foundation, which includes layout constructs (like a fully responsive grid), elements and best practices. Foundation is MIT-licensed and absolutely free to use.
Link: https://github.com/zurb/foundation
Source: Third party

Modular Code for Ruby

Federal API SDK
Ruby SDK to ease access to DOL's and other federal agencies' APIs. For a list of APIs that this SDK has been tested against, please see the wiki. For documentation and sample code, please visit http://developer.dol.gov.
Link: https://github.com/USDepartmentofLabor/Ruby_DOLDataSDK
Source: Federal

Mobile Fu
Want to automatically detect mobile devices that access your Rails application? Mobile Fu allows you to do just that. People can access your site from a Palm, Blackberry, iPhone, iPad, Nokia, etc. and it will automatically adjust the format of the request from :html to :mobile.
Link: https://github.com/GSA-OCSIT/mobile-fu
Source: Federal