6 # this is Merb.root, change this if you have some funky setup.
7 merb_root
= File
.expand_path(File
.dirname(__FILE__
) / '../')
9 # If the fcgi process runs as apache, make sure
10 # we have an inlinedir set for Rubyinline action-args to work
11 unless ENV["INLINEDIR"] || ENV["HOME"]
12 tmpdir = merb_root / "tmp"
13 unless File.directory?(tmpdir)
16 ENV["INLINEDIR"] = tmpdir
19 # start merb with the fcgi adapter, add options or change the log dir here
20 Merb.start(:adapter => 'fcgi
',
21 :merb_root => merb_root,
22 :log_file => merb_root /'log
'/'merb
.log
')