Fixed bug in ruby-terminal.sh so that it can now handle directories with spaces in them