Where the error occured
Rails 2.1.2 / bundle_fu / Javascript file
Why the fu…?
A javascript files that ends with a line commented out.
-1 is being compared to an empty string.
Fix
Add a blank line at the end of the Javscript file(s) that end with commented lines.