Skip to content

[Truffle] Requiring paths with . for current directory doesn't work #3079

@chrisseaton

Description

@chrisseaton
$ cat a.rb 
require("./b.rb")
$ cat b.rb 
puts("hi")
$ ruby2.1 a.rb                                                                                
hi
$ ../work/jruby/bin/jruby a.rb 
hi
$ ../work/jruby/bin/jruby -X+T -J-server a.rb 
a.rb:1:in `require': cannot load such file -- ./b.rb (LoadError)
        from a.rb:1:in `<main>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions