Show More
Commit Description:
handle the case when problem id or submission id is null. Grader will simply skip such request. Add more report on console (for command line grading)...
Commit Description:
handle the case when problem id or submission id is null. Grader will simply skip such request. Add more report on console (for command line grading)
(mercurial grafted from d233105d3965c5368c9b33125f390e39b25f910e)
References:
File last commit:
Show/Diff file:
Action:
config/environment.rb.SAMPLE
| 11 lines
| 335 B
| text/plain
| TextLexer
|
|
r82 | # Rails app directory (where you store web interface dir) | ||
RAILS_ROOT = "RAILS-ROOT" | ||||
|
r22 | |||
|
r82 | # This is where scripts dir is. | ||
GRADER_ROOT = "GRADER-DIR/scripts" | ||||
|
r22 | |||
|
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" | ||||