summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ruby.c b/ruby.c
index b0a349e78a4..9d0e282d97e 100644
--- a/ruby.c
+++ b/ruby.c
@@ -600,8 +600,10 @@ proc_options(argc, argv)
s++;
if (strcmp("copyright", s) == 0)
copyright = 1;
- else if (strcmp("debug", s) == 0)
- ruby_debug = 1;
+ else if (strcmp("debug", s) == 0) {
+ ruby_debug = Qtrue;
+ ruby_verbose = Qtrue;
+ }
else if (strcmp("version", s) == 0)
version = 1;
else if (strcmp("verbose", s) == 0) {