bin/telnyx-console in telnyx-0.0.8 vs bin/telnyx-console in telnyx-0.1.0
- old
+ new
@@ -3,10 +3,11 @@
# frozen_string_literal: true
require "irb"
require "irb/completion"
-require "#{::File.dirname(__FILE__)}/../lib/telnyx"
+$LOAD_PATH.unshift File.expand_path("lib")
+require "telnyx"
# Config IRB to enable --simple-prompt and auto indent
IRB.conf[:PROMPT_MODE] = :SIMPLE
IRB.conf[:AUTO_INDENT] = true