Sha256: 64221ae5dc128b4674834b72abcdbb62d70a26eb82d017d57b90348633851d9e
Contents?: true
Size: 1.21 KB
Versions: 19
Compression:
Stored size: 1.21 KB
Contents
require 'rubygems' require 'irb/completion' require 'irb/ext/save-history' begin require 'awesome_print' rescue LoadError => e msg = ["Caught a LoadError: could not load 'awesome_print'", "#{e}", '', 'Use bundler (recommended) or uninstall awesome_print.', '', '# Use bundler (recommended)', '$ bundle update', '$ bundle exec calabash-android console <path to apk>', '', '# Uninstall', '$ gem update --system', '$ gem uninstall -Vax --force --no-abort-on-dependent awesome_print'] puts msg exit(1) end AwesomePrint.irb! ARGV.concat [ "--readline", "--prompt-mode", "simple" ] # 50 entries in the list IRB.conf[:SAVE_HISTORY] = 50 # Store results in home directory with specified file name IRB.conf[:HISTORY_FILE] = ".irb-history" require 'calabash-android/defaults' require 'calabash-android/operations' module Calabash module Android module Operations def embed(*args) puts "Embed is a Cucumber method and is not available in this console." end end end end module Cucumber class << self wants_to_quit = false end end extend Calabash::Android::Operations
Version data entries
19 entries across 19 versions & 1 rubygems