Hey All,
Has anyone experienced Dir.tmpdir being undefined on a mac os x?
thanks.
smith
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.
smithI 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.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs