Last active
December 21, 2018 16:43
-
-
Save douglasmartins7/432b65a49eff4f208098889100e2155a to your computer and use it in GitHub Desktop.
Terminal - automation - ruby
This file contains hidden or 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
#Update chromedriver in ubuntu | |
#download the version | |
wget https://chromedriver.storage.googleapis.com/2.35/chromedriver_linux64.zip | |
$ unzip chromedriver_linux64.zip | |
#path chromedriver in ubuntu | |
$ sudo mv chromedriver /usr/bin/chromedriver | |
#consult version chromedriver | |
chromedriver --version | |
#comands basic about gem | |
sudo gem uninstall --all | |
sudo gem uninstall capybara #example | |
gem list | |
#java_home enviroment | |
export JAVA_HOME=$(readlink -ze /usr/bin/javac | xargs -0 dirname -z | xargs -0 dirname) | |
#install package essential in Ruby | |
sudo apt-get install build-essential patch ruby-dev zlib1g-dev liblzma-dev | |
#persmision write in folder | |
sudo chmod -R 757 /workspace/responsivo/b2c/ | |
#consultar versão do linux | |
lsb_release -a | |
#consultar 64x ou 86x | |
uname -a | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment