Dir.tmpdr mac os x

Hey All,

Has anyone experienced Dir.tmpdir being undefined on a mac os x?

thanks.
smith

Aaron S. wrote:

Hey All,

Has anyone experienced Dir.tmpdir being undefined on a mac os x?

thanks.
smith

I got it… I had to require ‘tmpdir’… duh.

Aaron S. wrote:

Aaron S. wrote:

Hey All,

Has anyone experienced Dir.tmpdir being undefined on a mac os x?

thanks.
smith

I got it… I had to require ‘tmpdir’… duh.

There’s nothing ‘duh’ about it. It should be core. Having to require a
library for this one method is kinda lame IMO.

Regards,

Dan

yeah I agree. but still… if it is undefined… the first thing you check
is
where it is defined and include it…

smith

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