Sha256: 44252f988547055ca7628e2f1a191843fc2f2ffae0a8e67e7ecefed1a2f0d2ad

Contents?: true

Size: 542 Bytes

Versions: 6

Compression:

Stored size: 542 Bytes

Contents

begin
  # Try to require the preresolved locked set of gems.
  require File.expand_path('../.bundle/environment', __FILE__)
rescue LoadError
  # Fall back on doing an unlocked resolve at runtime.
  require "rubygems"
  require "bundler"
  Bundler.setup
end

require 'merb-core'

Merb::Config.setup(
  :merb_root   => File.expand_path(File.dirname(__FILE__)),
  :environment => ENV['RACK_ENV']
)

Merb.environment = Merb::Config[:environment]
Merb.root        = Merb::Config[:merb_root]

Merb::BootLoader.run 

run Merb::Rack::Application.new

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
merb-gen-1.1.3 lib/generators/templates/application/merb_stack/config.ru
merb-gen-1.1.2 lib/generators/templates/application/merb_stack/config.ru
merb-gen-1.1.1 lib/generators/templates/application/merb_stack/config.ru
merb-gen-1.1.0 lib/generators/templates/application/merb_stack/config.ru
merb-gen-1.1.0.rc1 lib/generators/templates/application/merb_stack/config.ru
merb-gen-1.1.0.pre lib/generators/templates/application/merb_stack/config.ru