# Changing current directory

**URL:** <https://rubytalk.org/t/changing-current-directory/30>\
**Category:** ruby-talk\
**Created:** [1 June 2002 21:50 UTC](https://rubytalk.org/t/changing-current-directory/30 "2002-06-01T21:50:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dennis\_Newbold](https://avatars.discourse-cdn.com/v4/letter/d/8797f3/32.png) [@Dennis\_Newbold](https://rubytalk.org/u/Dennis_Newbold)\
**Post date:** [1 June 2002 21:50 UTC](https://rubytalk.org/t/changing-current-directory/30/1 "2002-06-01T21:50:28Z")

</div>

Hi Toby,

```
 Right you are! I got a little backed up on my email, and didn't

```

read the whole thing carefully enough, as I was just kind of “skimming”  
through stuff to try to get caught up. It illustrates what what  
Linus (or was it the other guy?) said – “given enough eyes, all bugs  
are obvious.” Thanks for catching mine.

Dennis

> **···**
>
> * * *
> 
> > ```
> > >
> > The way to be happy is to be good |
> > >
> > 
> > ```
> 
> * * *
> 
> On Sat, 1 Jun 2002, Tobias Reif wrote:
> 
> > Dennis Newbold wrote:
> > 
> > > Try Dir.chdir(“new\_directory\_name”)
> > 
> > > > : [bagfors@detrius]$ ; ruby -e ‘Dir.chdir “/tmp”; system “pwd”’  
> > > > /tmp
> > 
> > Please excuse me, but isn’t that what Erik wrote?
> > 
> > Tobi
> > 
> > –  
> > [http://www.pinkjuice.com/](http://www.pinkjuice.com/)
