Show More
Commit Description:
[grader] import script now support raw with testruns...
Commit Description:
[grader] import script now support raw with testruns
git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@267 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
config/environment.rb.SAMPLE
| 10 lines
| 289 B
| text/plain
| TextLexer
|
|
r22 | # Rails app directory | ||
RAILS_ROOT = "/home/jittat/web_grader" | ||||
GRADER_ROOT = "/home/jittat/grader/scripts" | ||||
|
r23 | # This load all required codes | ||
|
r22 | require File.join(File.dirname(__FILE__),'../lib/boot') | ||
# load the required environment file | ||||
require File.dirname(__FILE__) + "/env_#{GRADER_ENV}.rb" | ||||