For future readers. First, make sure you restart the rail server after installing gem, as krstck replied.
Then double check the version of your gem. jquery-ui-rails changed its require syntax to 5.0.0 . Now you should write:
//= require jquery-ui/datepicker
Also add to css
*= require jquery-ui/datepicker
source share