Show More
Commit Description:
added more comments on dir_init.rb...
Commit Description:
added more comments on dir_init.rb git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@383 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
judge/scripts/config/environment.rb.SAMPLE | 10 lines | 289 B | text/plain | TextLexer |
jittat
Combined judge project to the web project....
r176 # Rails app directory
RAILS_ROOT = "/home/jittat/web_grader"
GRADER_ROOT = "/home/jittat/grader/scripts"
# This load all required codes
require File.join(File.dirname(__FILE__),'../lib/boot')
# load the required environment file
require File.dirname(__FILE__) + "/env_#{GRADER_ENV}.rb"