Sha256: 298c010046d80e4d0cf6489d32dfad97ee63db40fd5fa1e3dd1f8104d9109cb6
Contents?: true
Size: 626 Bytes
Versions: 6
Compression:
Stored size: 626 Bytes
Contents
#!/usr/bin/env ruby # coding: utf-8 require 'optparse' require 'rubygems' require 'ramaze' $LOAD_PATH.unshift __DIR__("../") require 'util/gem_manager.rb' require 'config.rb' require 'util/servant.rb' require 'controller/init' require 'model/init' def start_ramaze if Conf.debug Ramaze::Log.info "Starting Ramaze with dev mode" end Ramaze::Log.info "Starting Ramaze with port #{Conf.server_port}" Ramaze.start :port => Conf.server_port, :root => __DIR__("../"), :mode => (Conf.debug ? :dev : :live) end if defined?(TESTS_DIR) Thread.new{ start_ramaze } else start_ramaze end
Version data entries
6 entries across 6 versions & 1 rubygems