Different Terminal Windows, Same Location, Different Results?

178 Views Asked by At

Why when I run

$ autotest

In sample_app on my left terminal tab I get

No DRb server is running. Running in local process instead ...
..

But in sample_app on my right terminal window I run

$ autotest

and get

-bash: autotest: command not found

Can someone please explain this mystery to me?

1

There are 1 best solutions below

0
On

The PATH is not the same in the two terminal sessions: The first directory in PATH is

/Users/lasernite/.rvm/gems/ruby-1.9.2-p290@rails3tutorial/bin

vs.

/Users/lasernite/.rvm/gems/ruby-1.9.2-p290/bin
  • bring them into line and the sessions will behave alike.