init.rb revision ec61f6f64207b4168960fcd645b1362d86fdecca
2d0611ffc9f91c5fc2ddccb93f9a3d17791ae650takashibegin
2d0611ffc9f91c5fc2ddccb93f9a3d17791ae650takashi require File.expand_path("../../../lib/environment_light", __FILE__)
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd require File.expand_path("../../../config/initializers/paths", __FILE__)
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd # extend the load path
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd $:.unshift File.dirname(__FILE__)
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd $:.unshift Rails.root.join("lib")
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd require 'logger'
5d8c229294268bca44bd1400700b175c999f41feyoshiki
d972e4a0688f66b1402473dd9dacfecefa2132a8rbowen # Configuration #
d972e4a0688f66b1402473dd9dacfecefa2132a8rbowen #################
d972e4a0688f66b1402473dd9dacfecefa2132a8rbowen
d972e4a0688f66b1402473dd9dacfecefa2132a8rbowen Settings.redis_namespace = 'ontohub'
ee310fab1ff1ed24942136c5e7423bfae0ff01eagryzor Rails.logger = Logger.new Rails.root.join('log','git.log')
ee310fab1ff1ed24942136c5e7423bfae0ff01eagryzor PathsInitializer.perform_initialization(Settings)
ee310fab1ff1ed24942136c5e7423bfae0ff01eagryzor
ee310fab1ff1ed24942136c5e7423bfae0ff01eagryzor require 'ontohub_net'
6ae232055d4d8a97267517c5e50074c2c819941andrescue ScriptError => e
5d8c229294268bca44bd1400700b175c999f41feyoshiki puts <<-ERROR
6ae232055d4d8a97267517c5e50074c2c819941andWe encountered a hard system error while processing
ecc5150d35c0dc5ee5119c2717e6660fa331abbftakashiyour git-interaction attempt.
ecc5150d35c0dc5ee5119c2717e6660fa331abbftakashiThe git command was not processed; your data is safe.
ecc5150d35c0dc5ee5119c2717e6660fa331abbftakashiPlease contact and inform an administrator of this issue.
ecc5150d35c0dc5ee5119c2717e6660fa331abbftakashi ERROR
exit 1
end