Skip to content

Commit

Permalink
Fix debug load on TruffleRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Mar 7, 2024
1 parent f3c5414 commit 170458c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion bin/console
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/usr/bin/env ruby
require "bundler/setup"
require "irb"
require "debug" rescue nil
begin
require "debug"
rescue StandardError, LoadError
end
require "marcel"

IRB.start
5 changes: 4 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
require 'marcel'
require 'pathname'

require 'debug' rescue nil
begin
require "debug"
rescue StandardError, LoadError
end

class Marcel::TestCase < Minitest::Test
class << self
Expand Down

0 comments on commit 170458c

Please sign in to comment.