This is a partial implementation of Redis in Ruby, to learn more about how a server program like Redis could be written in Ruby, following CodeCrafters' Build Your Own Redis challenge. I have written about my experience on my blog at www.jakebills.com
Assuming a ruby installation is present, run the following in the project directory:
$ ./your_program.shIn another terminal, make sure you have redis-cli and don't already have a redis server running on port 6379, and run:
$ redis-cli PING
PONG
$ redis-cli ECHO hi
hi
$ redis-cli SET foo bar
OK
$ redis-cli GET foo
"bar"