On 7/15/07, David Carlton <carlton / bactrian.org> wrote:
> On Sat, 14 Jul 2007 23:23:25 +0900, "Chris Carter" <cdcarter / gmail.com> said:
> > On 7/14/07, David Carlton <carlton / bactrian.org> wrote:
>
> >> ruby -e "require 'dbcdb/test/all'"
>
> > First of all, you should be doing:
> > ruby dbcdb/test/all.rb
> > Not your wacky thing with -e and require.  Dunno if that will fix it,
> > but it is standard practice this way.
>
> It does fix it, thanks!  I'm trying to remember why I started doing
> the require thing - I guess it was the easiest way to get a ruby
> command line that worked from Emacs no matter what directory a given
> buffer was in.

You still shouldn't do that.  Use something like:

ruby -I dbcdb dbcdb/test/all.rb if you must work outside the dir.