use ruby gem installl command need sudo apt-get install zlib1g-dev on ubuntu
sudoapt-getinstallzlib1g-devrvminstall1.9.2geminstallredis ifyouwanttoinstallredisyoumustuse1.9.3lowerversion,currentlywhenyouinstallredison1.9.3rubyversion,itwilloccurissue