Log warning with Passenger

1 view
Skip to first unread message

Shaitan

unread,
Aug 20, 2008, 2:16:13 PM8/20/08
to Ramaze
I'm playing around with a Ramaze app on Slicehost using Phusion
Passenger.

My app seems to be working fine, but I'm getting warn messages in my
log like this:

[2008-08-20 17:57:13] WARN Couldn't figure path for Rack: /home/
shaitan/career

/home/shaitan/career being the folder where my application's source
code lives.

Is anyone familiar with that warning and if it's something to be
concerned about or how to fix it?

Thanks,
Adam

Michael Fellinger

unread,
Aug 20, 2008, 9:59:36 PM8/20/08
to ram...@googlegroups.com

First of all, thanks for trying Ramaze, and especially the latest version :)

It's nothing to be concerned about, the message is from
Ramaze::Reloader and indicates that it cannot reload this file because
it's no file but a directory.
It would be helpful if you could send me the output of:

def rotation
files = [$0, *$LOADED_FEATURES].uniq
paths = ['./', *$LOAD_PATH].uniq
pp files
pp paths

The place to do the modification is:
http://github.com/manveru/ramaze/tree/master/lib/ramaze/reloader.rb#L108-110
http://tinyurl.com/reloader-rb-108-110

Hopefully we can get rid of the warning, but i'd like to know how
directories end up in $LOADED_FEATURES before we do that.

^ manveru

Reply all
Reply to author
Forward
0 new messages