Skip to content

Commit

Permalink
Define Debugger constant as ruby-debug-ide depends on it
Browse files Browse the repository at this point in the history
* Otherwise:
  ruby-debug-ide-VERSION/lib/ruby-debug-ide.rb:10:in `<top (required)>': uninitialized constant Debugger (NameError)
  • Loading branch information
andrykonchin authored and eregon committed Sep 19, 2023
1 parent 0371c65 commit 06bdb3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/debase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
require 'debase/rbx'
elsif defined?(RUBY_ENGINE) && RUBY_ENGINE == 'truffleruby'
require "debase/version"

Debugger = Module.new
return
else
require "debase_internals"
Expand Down

0 comments on commit 06bdb3c

Please sign in to comment.