Created
March 7, 2011 00:53
-
-
Save FabricioFFC/857926 to your computer and use it in GitHub Desktop.
Watir installation on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo -e "\n\n" | |
echo -e "=> Instalando o Ruby e o Rubygems" | |
apt-get install ruby rubygems ruby-dev | |
echo export PATH=/var/lib/gems/1.8/bin:$PATH >> ~/.bashrc | |
echo -e "=> Atualizando Rubygems" | |
cd /tmp/ | |
wget http://production.cf.rubygems.org/rubygems/rubygems-1.6.1.tgz | |
tar xzvf rubygems-1.6.1.tgz | |
cd rubygems-1.6.1 | |
ruby setup.rb | |
echo -e "=> Instalando o Watir" | |
gem install firewatir | |
echo -e "\n#################################" | |
echo "### Instalação está completa! ###" | |
echo -e "#################################\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment