pachl
unread,Sep 5, 2008, 4:12:37 AM9/5/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ramaze
I'm not sure if this is a bug, but Ramaze::Global.root does not report
the correct application directory. In lib/ramaze/option.rb, root is
set using the the following code:
File.dirname(File.expand_path($0))
However, I start my Ramaze app using `thin start` and $0 points to the
thin binary. Therefore, Ramaze::Global.root reports /usr/local/bin,
but my Ramaze app is in /home/pachl/work/mokaz/www.
-pachl