If you require newer versions of the asset files you can download them from the Add to Homescreen repository.
This gem vendors the 'Add to Home screen' assets for Rails 3.1 and greater. The files will be added to the asset pipeline and available for you to use.
For info on how to use the plugin see the original documentation:
Praise for creating this tool should of course be directed at Matteo Spinelli!
For the orignal javascript and css file go to his Github repository.
In your Gemfile, add:
gem 'add-to-homescreen-rails'
You can include it by adding the following to your javascript application file:
//= require addtohomescreen
And to the css application file:
/*
*= require addtohomescreen
*/