Is there an alternative way to do the following one-liner replacement of text across all files in a Rails app?
perl -pi -e 's/replaceme/thereplacement/g' $(find . -type f)
Perl complains that there are too many files if I include the RAILS_ROOT, but it works for subdirectories.