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

Version Path
spiderfw-0.6.30 lib/spiderfw/env.rb
spiderfw-0.6.29 lib/spiderfw/env.rb
spiderfw-0.6.28 lib/spiderfw/env.rb
spiderfw-0.6.27 lib/spiderfw/env.rb
spiderfw-0.6.26 lib/spiderfw/env.rb
spiderfw-0.6.26.pre1 lib/spiderfw/env.rb
spiderfw-0.6.25 lib/spiderfw/env.rb
spiderfw-0.6.24 lib/spiderfw/env.rb
spiderfw-0.6.23 lib/spiderfw/env.rb
spiderfw-0.6.22 lib/spiderfw/env.rb
spiderfw-0.6.21 lib/spiderfw/env.rb
spiderfw-0.6.20 lib/spiderfw/env.rb
spiderfw-0.6.19 lib/spiderfw/env.rb
spiderfw-0.6.18 lib/spiderfw/env.rb
spiderfw-0.6.17 lib/spiderfw/env.rb