Stop #Rails from including .bak files in CSS/JavaScript: Change Hike::Index#entries() (line 80 in gems/hike-1.2.2/lib/hike/index.rb):

 @entries[key] ||= Pathname.new(path).entries.reject { |entry| entry.to_s =~ /^\.|(?:~|\.bak)$|^\#.*\#$/ }.sort