I’ve created a very simple gem that includes the jquery mobile files to Rails’ assets pipeline. To install, just add to your Gemfile:
//= 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.