Show More
Commit Description:
autonew skips submissions with bad problems, forbids getch, better compiler msg when preprocessing fails, reports compile error when the executable is too large (100MB)
Commit Description:
autonew skips submissions with bad problems, forbids getch, better compiler msg when preprocessing fails, reports compile error when the executable is too large (100MB)
File last commit:
Show/Diff file:
Action:
config/environment.rb.SAMPLE | 11 lines | 335 B | text/plain | TextLexer |
# Rails app directory (where you store web interface dir)
RAILS_ROOT = "RAILS-ROOT"
# This is where scripts dir is.
GRADER_ROOT = "GRADER-DIR/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"