Dir.tmpdr mac os x

Hey All,

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

thanks.
smith

···

--
Posted via http://www.ruby-forum.com/.

Aaron Smith 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.

···

--
Posted via http://www.ruby-forum.com/\.

Aaron Smith wrote:

Aaron Smith 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

···

On 1/19/07, Daniel Berger <djberg96@gmail.com> wrote:

Aaron Smith wrote:
> Aaron Smith 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