lib/adhearsion/console.rb in adhearsion-2.4.0 vs lib/adhearsion/console.rb in adhearsion-2.5.0

- old
+ new

@@ -1,8 +1,9 @@ # encoding: utf-8 require 'pry' +require 'readline' module Adhearsion class Console include Singleton @@ -28,12 +29,12 @@ ## # Start the Adhearsion console # def run - set_prompt - Pry.config.command_prefix = "%" if jruby? || cruby_with_readline? + set_prompt + Pry.config.command_prefix = "%" logger.info "Launching Adhearsion Console" @pry_thread = Thread.current pry logger.info "Adhearsion Console exiting" else