jquery-ujs is the unobtrusive implementation to allow you to use jQuery in a Rails app. Simply speaking, it’s just a single rails.js. To use it, you have to get jQuery and setup your Rails app.
jquery-rails is the gem to do this for you, it bundles (in its own vendor/assets directory) the most recent jQuery, jQuery-UI and jquery-ujs lib. I suggest you use it directly.
Update: you can checkout the vendor/assets/javascripts directory here:
https://github.com/rails/jquery-rails/tree/master/vendor/assets/javascripts
Under it sit the most recent jquery, jquery-ui and jquery_ujs(identical to the rails.js in jquery-urj project).