Version issue with First App in Hartl Tutorial

I don't know why this works, but I found it on Stack Overflow and it worked for me. (I'm going through Hartl's second edition.)

Run this first (it installs the gem separately):

gem install jquery-rails

And then try bundle install again.