From: ko1@... Date: 2018-12-27T17:36:11+00:00 Subject: [ruby-core:90746] [Ruby trunk Bug#15471] -e and specified file does not kick script_compiled TracePoint event Issue #15471 has been reported by ko1 (Koichi Sasada). ---------------------------------------- Bug #15471: -e and specified file does not kick script_compiled TracePoint event https://bugs.ruby-lang.org/issues/15471 * Author: ko1 (Koichi Sasada) * Status: Open * Priority: Normal * Assignee: ko1 (Koichi Sasada) * Target version: 2.7 * ruby -v: 2.7 * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- Of course, `ruby -e ...` or `ruby script.rb` compile given ruby script. But `script_compiled` event is not kicked. ``` $ ruby -r sample x.rb ``` We can put TracePoint in sample library but we can't get `script_compiled` event on `-e` or given `x.rb` file. It should be a bug. -- https://bugs.ruby-lang.org/ Unsubscribe: