Sha256: 557a3500264b7312b55d35d9a9f9756a3ff7e88a50779a98a4f76e1c12a6d978
Contents?: true
Size: 652 Bytes
Versions: 12
Compression:
Stored size: 652 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'merb-core' # this is Merb.root, change this if you have some funky setup. merb_root = File.expand_path(File.dirname(__FILE__) / '../') # If the fcgi process runs as apache, make sure # we have an inlinedir set for Rubyinline action-args to work unless ENV["INLINEDIR"] || ENV["HOME"] tmpdir = merb_root / "tmp" unless File.directory?(tmpdir) Dir.mkdir(tmpdir) end ENV["INLINEDIR"] = tmpdir end # start merb with the fcgi adapter, add options or change the log dir here Merb.start(:adapter => 'fcgi', :merb_root => merb_root, :log_file => merb_root /'log'/'merb.log')
Version data entries
12 entries across 6 versions & 1 rubygems