Skip to content

VivaLosDoyers/ruby_console

 
 

Repository files navigation

Downloads Pull Requests Issues

Appium Ruby Console Gem VersionDependency Status

How to use

Read the bootcamp guide on the ruby console.

Update system

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

Pry commands are prefixed with %. For example %reset invokes Pry's reset command. To use the ruby_lib reset, it's reset

Install / Upgrade Ruby Console

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

Notes

You should uninstall the ap gem because it breaks awesome_print.

gem uninstall -aIx ap

Run

The arc command starts Appium Ruby Console.

  • arc help prints a description of all available commands
  • arc version prints the current version of appium console and appium lib.
  • arc setup android creates appium.txt for android in the current working dir.
  • arc setup ios creates appium.txt for ios in the current working dir.
  • arc toml FILE starts arc with toml FILE path

Documentation

About

Appium Ruby Console

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 95.8%
  • HTML 4.2%