-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
plugins {
id 'com.github.jruby-gradle.base' version '2.0.2'
}
jruby.jrubyVersion = '9.4.2.0'
repositories {
mavenCentral()
ruby.gems()
}
dependencies {
gems 'rubygems:pry:0.14.2'
gems 'rubygems:pry-debugger-jruby:2.1.1'
gems 'rubygems:spoon:0.0.6'
}
import com.github.jrubygradle.JRubyExec
tasks.register('test', JRubyExec) {
jrubyArgs '--debug'
script 'a.rb'
}a.rb:
require 'pry-debugger-jruby'
binding.pry
puts 1Running gradle test on this should stop the execution on the binding.pry line and only when continue is typed-in should execution continue and 1 be printed. Instead, execution continues immediately and the process exits.
This doesn't happen when manually running jruby --debug a.rb - in that case all works as expected.
imweijh
Metadata
Metadata
Assignees
Labels
No labels