Broken path from Mac to Windows


#1

I’ll start with the obvious, I am a RoR noob, but I have an issue that I
need a more experienced pair of eyes to look at. I am working with an
application that was originally developed in a Mac OS X environment that
i am trying to get working in a windows Environment. is that I can get
the standard “Welcome Aboard” page, but when I attempt to use any thing
from the app it gives me the dreaded

"Status: 500 Internal Server Error Content-Type: text/html

Application error (Apache)
Change this error message for exceptions thrown outside of an action
(like in
Dispatcher setups or broken Ruby code) in public/500.html

I look at the log/development.log and the top line is aways
Expected C:/sandbox/workspaces/mycom/myapp/config/…/app/apis/myapp.rb
to define myAppApi

the strange thing is that myapp.rb is exactly where it should be!!!

Is this a pathing incompatibility between Mac and Windows? could the
parent(…) reference be the cause?

-Will


#2

Hi William,

William Fawcett wrote:

I look at the log/development.log and the top line is aways
Expected C:/sandbox/workspaces/mycom/myapp/config/…/app/apis/myapp.rb

Windows software is supposed to handle ‘/’, but the fact is that some
Windows software doesn’t. I’d start by using Mongrel or Webrick instead
of
Apache to serve your app and see if that makes a difference.

hth,
Bill