installing ruby rvm
Step One— Install Ruby with RVM
sudo apt-get update
Once that's done, we can start installing RVM, Ruby Version Manager. This is a great program that lets you use several versions of Ruby on one server.
If you do not have curl on your system, you can start by installing it:
sudo apt-get install curl
To install RVM, open terminal and type in this command:
\curl -L https://get.rvm.io | bash -s stable
After it is done installing, load RVM. You may first need to exit out of your shell session and start up a new one.
source ~/.rvm/scripts/rvm
In order to work, RVM has some of its own dependancies that need to be installed. To automatically install them:
rvm requirements
Once you are using RVM, installing Ruby is easy.
rvm install ruby
Step two— Install Nodejs using brew
Install brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
echo export PATH="/home/$USER/.linuxbrew/bin:$PATH" >> ~/.bash_profile
source ~/.bash_profile
then do
brew doctor
if everything is fine, then install nodejs by using this command
brew install node
Download appium from git using this command
git clone git://github.com/appium/appium.git cd appium
Before that check whether android ANDROID_HOME is set or not, If not please set the variable
export ANDROID_HOME="/media/raghu/oops/android/android-sdk/" ./reset.sh --verbose
Once it is done, start the appium server by this command
node .
That's all your appium server is running on the machine. Come on start writing your scripts.
Can anyone please share some detailed steps?