[#89806] [Ruby trunk Bug#15306] Generate prelude.c using miniruby — v.ondruch@...
Issue #15306 has been reported by vo.x (Vit Ondruch).
3 messages
2018/11/15
[ruby-core:89727] [Ruby trunk Bug#15206] require_relative in std_lib
From:
ruby-core@...
Date:
2018-11-06 15:28:30 UTC
List:
ruby-core #89727
Issue #15206 has been updated by marcandre (Marc-Andre Lafortune). Oh, good catch, I should have thought of that... I modified my script to check if the path with .rb actually exists and it came with only these two exceptions. ---------------------------------------- Bug #15206: require_relative in std_lib https://bugs.ruby-lang.org/issues/15206#change-74770 * Author: marcandre (Marc-Andre Lafortune) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- I noticed that there are some `require` for internal files in `lib/`. Ideally, they would be using `require_relative` instead. This is faster and more explicit. Note: `require_relative` had a potential issue with symlinks that was fixed in 2.5, so libraries that might be loaded from earlier Ruby, like `rubygems`, can not yet be updated. I've [created a PR](https://github.com/ruby/ruby/pull/1976) and would like to know if there are comments / objections / things I'm missing. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>