Skip to content

Instantly share code, notes, and snippets.

@FabricioFFC
Created March 7, 2011 00:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FabricioFFC/857926 to your computer and use it in GitHub Desktop.
Save FabricioFFC/857926 to your computer and use it in GitHub Desktop.
Watir installation on Linux
#!/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