Displaying 1 result from an estimated 1 matches for "constants_rewrit".
Did you mean:
constants_rewrite
2007 Dec 13
0
constants_rewrite branch, Merb.root and Dir.pwd?
Hello Guys,
Doing some svn up and some looking at the code in the repo, found that
MERB_ROOT and the replacement Merb.root constant based heavily on
Dir.pwd (on trunk:
http://merb.devjavu.com/browser/trunk/lib/merb.rb#L89)
Dir.pwd present a problem when you try to run something "outside" the
root of your app, let say inside app directory it will wrongly assing
MERB_ROOT to Dir.pwd and