Skip to content

Commit badd105

Browse files
viuginick1valich
authored andcommitted
require thread_alias in caller (#141)
1 parent bd9f77a commit badd105

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

bin/rdebug-ide

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,6 @@ else
131131
Debugger::PROG_SCRIPT = $0
132132
end
133133

134-
if RUBY_VERSION < "1.9"
135-
lib_path = File.expand_path(File.dirname(__FILE__) + "/../lib/")
136-
$: << lib_path unless $:.include? lib_path
137-
require 'ruby-debug-ide/thread_alias.rb'
138-
else
139-
require_relative '../lib/ruby-debug-ide/thread_alias'
140-
end
141-
142134
if options.dispatcher_port != -1
143135
ENV['IDE_PROCESS_DISPATCHER'] = options.dispatcher_port.to_s
144136
if RUBY_VERSION < "1.9"

lib/ruby-debug-ide/command.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
require 'debase'
55
end
66

7+
require 'ruby-debug-ide/thread_alias'
78
require 'ruby-debug-ide/helper'
89
require 'delegate'
910

0 commit comments

Comments
 (0)