Sha256: 5d594c287f3e63ff5ea4dab74d2fb36d0a52518c58d12863be783d05ddce8109

Contents?: true

Size: 742 Bytes

Versions: 82

Compression:

Stored size: 742 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

82 entries across 52 versions & 6 rubygems

Version Path
merb-core-1.1.0.pre spec10/public/webrat/test_app/public/merb.fcgi
slashport-0.15.10 public/merb.fcgi
merb-gen-1.0.15 lib/generators/templates/application/merb_core/public/merb.fcgi
merb-gen-1.0.15 lib/generators/templates/application/merb_stack/public/merb.fcgi
merb-gen-1.0.14 lib/generators/templates/application/merb_stack/public/merb.fcgi
merb-gen-1.0.14 lib/generators/templates/application/merb_core/public/merb.fcgi
merb-gen-1.0.13 lib/generators/templates/application/merb_stack/public/merb.fcgi
merb-gen-1.0.13 lib/generators/templates/application/merb_core/public/merb.fcgi
MARQ-0.0.1 merb/public/merb.fcgi
chef-server-0.7.14 public/merb.fcgi
chef-server-0.7.12 public/merb.fcgi
chef-server-0.7.10 public/merb.fcgi
merb-gen-1.0.12 lib/generators/templates/application/merb_stack/public/merb.fcgi
merb-gen-1.0.12 lib/generators/templates/application/merb_core/public/merb.fcgi
merb-gen-0.9.2 app_generators/merb/templates/public/merb.fcgi
merb-gen-0.9.13 lib/generators/templates/application/merb_stack/public/merb.fcgi
merb-gen-0.9.13 lib/generators/templates/application/merb_core/public/merb.fcgi
merb-gen-0.9.12 lib/generators/templates/application/merb_stack/public/merb.fcgi
merb-gen-0.9.12 lib/generators/templates/application/merb_core/public/merb.fcgi
merb-gen-0.9.10 lib/generators/templates/application/merb_stack/public/merb.fcgi