Sha256: 84cb4b7419bcdf8072e397ef598e54f1421fb577d842b8dec095595d7c2769da
Contents?: true
Size: 542 Bytes
Versions: 26
Compression:
Stored size: 542 Bytes
Contents
def calabash_console(app_path = nil) test_server_path = test_server_path(app_path) unless ENV["TEST_SERVER_PORT"] ENV["TEST_SERVER_PORT"] = "34777" end ENV["IRBRC"] = File.join(File.dirname(__FILE__), '..', 'irbrc') unless ENV["MAIN_ACTIVITY"] ENV["MAIN_ACTIVITY"] = main_activity(app_path) end unless ENV["APP_PATH"] ENV["APP_PATH"] = app_path end unless ENV["TEST_APP_PATH"] ENV["TEST_APP_PATH"] = test_server_path end build_test_server_if_needed(app_path) system "#{RbConfig.ruby} -S irb" end
Version data entries
26 entries across 26 versions & 2 rubygems