Sha256: 07af8098efe4e66b86058f8a758417f30853f1be38c1bfa933025cf902e8fe10

Contents?: true

Size: 912 Bytes

Versions: 26

Compression:

Stored size: 912 Bytes

Contents

#!/usr/bin/env ruby

require "#{File.dirname(__FILE__)}/../lib/hayabusa.rb"

knjrbfw_path = ""

ARGV.each do |arg|
  if arg == "--active_support"
    ARGV.delete(arg)
    require "active_support"
    require "active_support/core_ext"
  elsif match = arg.match(/--knjrbfw_path=(.+)/)
    knjrbfw_path = match[1]
    ARGV.delete(arg)
  else
    print "Unknown argument: '#{arg}'.\n"
    exit
  end
end

require "#{knjrbfw_path}knjrbfw"

filepath = File.dirname(__FILE__) + "/../lib/"

if File.exists?($0)
  conf_path = File.dirname($0) + "/../"
else
  conf_path = File.dirname(__FILE__) + "/../"
end

require "#{conf_path}conf/conf_vars"
require "#{$hayabusa_config["knjrbfw"]}knj/autoload"

$hayabusa = {
  :path => File.realpath(File.dirname(__FILE__))
}

Knj::Os.chdir_file(File.realpath(__FILE__))
require "#{filepath}include/class_hayabusa.rb"

print "Starting knjAppServer.\n"
require "#{conf_path}conf/conf"

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
hayabusa-0.0.30 bin/knjappserver_start.rb
hayabusa-0.0.29 bin/knjappserver_start.rb
hayabusa-0.0.28 bin/knjappserver_start.rb
hayabusa-0.0.25 bin/knjappserver_start.rb
hayabusa-0.0.24 bin/knjappserver_start.rb
hayabusa-0.0.23 bin/knjappserver_start.rb
hayabusa-0.0.22 bin/knjappserver_start.rb
hayabusa-0.0.20 bin/knjappserver_start.rb
hayabusa-0.0.19 bin/knjappserver_start.rb
hayabusa-0.0.18 bin/knjappserver_start.rb
hayabusa-0.0.17 bin/knjappserver_start.rb
hayabusa-0.0.16 bin/knjappserver_start.rb
hayabusa-0.0.15 bin/knjappserver_start.rb
hayabusa-0.0.14 bin/knjappserver_start.rb
hayabusa-0.0.13 bin/knjappserver_start.rb
hayabusa-0.0.12 bin/knjappserver_start.rb
hayabusa-0.0.11 bin/knjappserver_start.rb
hayabusa-0.0.10 bin/knjappserver_start.rb
hayabusa-0.0.9 bin/knjappserver_start.rb
hayabusa-0.0.8 bin/knjappserver_start.rb