My ZSH configuration with supports Ruby, Rails and many other features.
To install just run in terminal:
curl https://raw.githubusercontent.com/akolosov/zsh-config/master/scripts/bootstrap.sh -L -o - | sh
... wait until successfully installed, re-run ZSH and have fun! :)