setup.sh : use ruby-install v0.3.1

Use `ruby-install` version `0.3.1` in `scripts/setup.sh`.