Forum: Ruby on Rails Broken path from Mac to Windows

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
William Fawcett (Guest)
on 2007-03-29 21:46
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
Bill W. (Guest)
on 2007-03-29 22:55
(Received via mailing list)
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
This topic is locked and can not be replied to.