Move gem install script to bash