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 bundlerPry 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 bondThe 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 helpprints a description of all available commandsarc versionprints the current version of appium console and appium lib.arc setup androidcreatesappium.txtfor android in the current working dir.arc setup ioscreatesappium.txtfor ios in the current working dir.arc toml FILEstarts arc with toml FILE path