This causes [an issue with rules_ruby for Bazel](https://github.com/bazelruby/rules_ruby/issues/100). Bazel uses symlinks extensively to implement hermetic build sandboxing.john_firebaugh (John Firebaugh)
This is similar to #10222 (which was fixed), but it's with symlinked files. #10222 was with symlinked directories. If files are symlinked, then mixing `require` and `require_relative` can result in the same file being loaded twice. ...john_firebaugh (John Firebaugh)
john_firebaugh (John Firebaugh) wrote: > I reviewed my own use of Hash[], and in the majority of cases, I'm transforming both the key and value. So I would prefer a more flexible definition: > ... john_firebaugh (John Firebaugh)
I reviewed my own use of Hash[], and in the majority of cases, I'm transforming both the key and value. So I would prefer a more flexible definition: module Enumerable # Associates keys with values and returns a Hash. # # If ...john_firebaugh (John Firebaugh)
The documentation states that "Two regexps are equal if their patterns are identical, they have the same character set code, and their casefold? values are the same" and gives the following example: /abc/ == /abc/n #=> false ...john_firebaugh (John Firebaugh)
>> ENV["foo"] => nil > ... Errno::ENOENT: No such file or directory - nonexistent from (irb):2:in `exec' from (irb):2 from /Users/john/.rvm/rubies/ruby-1.9.3-p125/bin/irb:16:in `<main>' >> ENV["foo"] => "bar" I expected that...john_firebaugh (John Firebaugh)