Sha256: 98cdc042cf975b7ad91979fb5f97ea33230e1df60a5be94fb1dd2732056f47e6
Contents?: true
Size: 877 Bytes
Versions: 15
Compression:
Stored size: 877 Bytes
Contents
RUBY_VERSION_PARTS = RUBY_VERSION.split('.') ENV['LC_CTYPE'] = 'en_US.UTF-8' $SPIDER_PATH ||= File.expand_path(File.dirname(__FILE__)+'/../..') $SPIDER_PATHS ||= {} $SPIDER_PATHS[:core_apps] ||= File.join($SPIDER_PATH, 'apps') $SPIDER_LIB = $SPIDER_PATH+'/lib' $SPIDER_RUN_PATH ||= Dir.pwd ENV['GETTEXT_PATH'] += ',' if (ENV['GETTEXT_PATH']) ENV['GETTEXT_PATH'] ||= '' ENV['GETTEXT_PATH'] += $SPIDER_PATH+'/data/locale,'+$SPIDER_RUN_PATH+'/data/locale' #$:.push($SPIDER_LIB+'/spiderfw') $:.push($SPIDER_RUN_PATH) $:.push($SPIDER_PATH) # Dir.chdir($SPIDER_RUN_PATH) $SPIDER_RUNMODE ||= ENV['SPIDER_RUNMODE'] $SPIDER_CONFIG_SETS = ENV['SPIDER_CONFIG_SETS'].split(/\s+,\s+/) if ENV['SPIDER_CONFIG_SETS'] $SPIDER_SCRIPT = $0 if $SPIDER_SCRIPT =~ /Rack|Passenger/ $SPIDER_RACK = true $SPIDER_SCRIPT = ::File.expand_path('./bin/spider') $SPIDER_NO_RESPAWN = true end
Version data entries
15 entries across 15 versions & 1 rubygems