jQuery Mobile for Rails

This gem vendors the jQuery Mobile assets for Rails 3.1 and greater. The files will be added to the asset pipeline and available for you to use.

For info on how to use jQuery Mobile or get the unmodified asset files visit:

jQuery Mobile

Using the gem

In your Gemfile add:

gem 'jquery-mobile-rails-assets'

You can then include it in your app by adding the following to your javascript file:

//= require jquery.mobile

And to the css file:

 *= require jquery.mobile

The gem is Rails 4 compatible from version 1.3.2.1 and up.