Update rails and sprockets gems

Addresses CVE-2014-7818 and CVE-2014-7819