JQuery-Mobile for Rails 3.1 Gem

Posted by Tiago Scolari on Sep 14, 2011
In Development, Ruby, Javascript
Tags

I’ve created a very simple gem that includes the jquery mobile files to Rails’ assets pipeline. To install, just add to your Gemfile:

gem 'jquery_mobile_rails'

And require the javascript/css files in your manifests:

//= require jquery.mobile.min
*= require jquery.mobile.min

That’s it. No helpers, no methods, only the files in your application assets pipeline. For more information check the github repo.