Fixed that the TextMate Footnotes plugin would throw an exception if no javascripts or stylesheets were present on the page (George Anderson). Changed: U trunk/Bundles/Rails.tmbundle/Support/plugins/footnotes/lib/textmate_footnotes.rb