I got sick of a particularly bad time tracking down a 'bad encoding' error in rails on ruby 1.9, so I've written a gem...
http://github.com/adamsalter/bad_encodings-ruby19/tree/master It basically iterates over the regular 'ruby' files it can find and tries each line for 'valid_encoding' and then returns a list of all lines that failed. Fixed my issue (another coder, on ruby 1.8, had edited a library(!) and put a bad encoding in) Try it out and let me know how you go. Cheers, -Adam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to rails-oceania@googlegroups.com To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en -~----------~----~----~----~------~----~------~--~---