I\'m using Ruby on Rails (Edge, the development version), and Ruby rvm 1.9.2.
application.js is as follows.
application.js
//= require jquery //= requi
There is now a jquery-ui-rails gem (see announcement). It packages the images as assets (and correctly references them from the CSS files) so things Just Work. :-)