Sha256: 47e9ee0213f1e27a00c30f56b4f61b7ab12e2c374ee892fffb524dd2cb162853

Contents?: true

Size: 552 Bytes

Versions: 4

Compression:

Stored size: 552 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'
if defined?(TESTS_DIR)
  Conf.set_home(TESTS_DIR/"data/conf_dir/")
else
  Conf.parse_opt
end
Conf.init

require 'util/servant.rb'
require 'controller/init'
require 'model/init'

if Conf.debug
  Ramaze::Log.info "Starting Ramaze with dev mode"
end
Ramaze.start :port => Conf.server_port,
             :root => __DIR__("../"),
             :mode => (Conf.debug ? :dev : :live)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-station-0.1.3 bin/ruby-station
ruby-station-0.1.2 bin/ruby-station
ruby-station-0.1.1 bin/ruby-station
ruby-station-0.1.0 bin/ruby-station