I'm probably making this harder than it should be... but if so, the Internet will correct me :-)
Anyhow, I wanted to apply the Rails XSS vulnerability patch on a machine that was running Rails 2.3.2. The gems weren't frozen to the app, though, they were just out there in
I moved over to the
gems directory and tried to apply the patch, but I got the "which file do you want to apply the patch to" message. It makes sense; the patch wants to make the change to (for example)
activesupport/lib/active_support/multibyte.rb and all the gem directories have the version numbers attached - e.g.,
activesupport-2.3.2. I was getting ready to kind of pick the patch apart but then thought "hold on, symlinks!" So I did this:
Restart the app, and huzzah! All's well.