Felix Windt wrote:
> If you do a "cat script/server" from the base directory of your rails
> application, what Ruby path does the shebang line point to?
> 
> Felix


#!/usr/bin/ruby

This was the problem.  Normally it is "#!/usr/bin/env ruby" but I had 
pulled a rails project from a friend's svn server and apparently it was 
setup differently on his system.  I simply never thought to look there.

At least it wasn't forgetting to set my environment variable in bash. 
I've been using bash for around 12 years now and I'm familiar with the 
various ways of setting environment variables on *nix systems.  ;-)

Thanks for all the help folks!

Actually, now that I think about it.  Is there a way to reset the 
shebangs on all the rails scripts without inadvertently pushing them 
back to svn?  That's going to be a bit of a pain if we're fighting over 
the shebangs with every commit.



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