Add this line to your application's Gemfile:
gem 'just_underscore'
And then execute:
$ bundle
Then require it in your javascript:
#= require underscore
Tracks versioning of underscore.js.