Upgrading installed version of rails jquery

So 1.7 was just released, would like to play with it, how do you upgrade/replace the installed version in rails 3.1.1?

Okay, in the event that someone else needs to do this AND isn’t willing to wait for the jquery-rails gem to be updated.

In a terminal

gem environment

Look for your gem path, go there. In that folder should be a directory called “gems”. In that folder will be the jquery-rails gem folder. Navigate to the vendor/assets/javascripts directory and replace the jquery.js and jquery.min.js files with the most recent version of jquery.