In order to start emacs in server mode you must add this line to your .emacs file:
(server-start)
Here is a simple script you can use to start emacs and then recursively load all files named "*.rb" from a directory:
/usr/bin/emacs & find /path/to/dir/ -name "*.rb" -type f -exec /usr/local/bin/emacsclient {} -n \; 2> /dev/null