Read the bootcamp guide on the ruby console.
Paste the following into Terminal. If you're not using RVM, you may have to prefix gem commands with sudo.
gem update --system ;\
gem update bundler
Pry commands are prefixed with %
. For example %reset
invokes Pry's reset command.
To use the ruby_lib reset, it's reset
gem uninstall -aIx appium_lib ;\
gem uninstall -aIx appium_console ;\
gem install --no-rdoc --no-ri appium_console bond
The bond gem is necessary for proper auto complete. Installing it will fix this error NameError: uninitialized constant Pry::BondCompleter::Bond
You should uninstall the ap
gem because it breaks awesome_print.
gem uninstall -aIx ap
The arc
command starts Appium Ruby Console.
arc help
prints a description of all available commandsarc version
prints the current version of appium console and appium lib.arc setup android
createsappium.txt
for android in the current working dir.arc setup ios
createsappium.txt
for ios in the current working dir.arc toml FILE
starts arc with toml FILE path