Ruby require problem

I don’t get it. Why doesn’t ruby have just require/include for
relative paths as it is in java, python etc. ?
What’s wrong? it’s already 1.9 version which lacks these VERY basic
and usual feature. Explain me plz.

cough

Umm. Because you’re missing it. It does. I’ve used it, frequently
even. Perhaps your build is flawed?

On Apr 23, 4:21 pm, Pablo E. [email protected] wrote:

I don’t get it. Why doesn’t ruby have just require/include for
relative paths as it is in java, python etc. ?
What’s wrong? it’s already 1.9 version which lacks these VERY basic
and usual feature. Explain me plz.

When asking question about ruby behaviors, provide a sample of code
that shows the issue and include the corresponding backtrace.

Ruby allows require to relative paths, 1.9 has require_relative.

Please help us help you better

You are right thanks. i guess it is ruby mine bug

On Apr 24, 12:26 am, Luis L. [email protected] wrote:

On Apr 23, 4:21 pm, Pablo E. [email protected] wrote:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs