MBPro:shovell myname$ ruby script/server => Booting WEBrick => Rails 2.3.8 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to
In general, you can use:
command &
And it will detach from the terminal window.
If you are using Linux, another options is to use screen:
screen
screen # start your process # press Ctrl+a # press Ctrl+d
Voila! It's detached. Then you can call screen -r and your process will be back as if nothing happened.
screen -r