Show More
Commit Description:
added default grading mode, changed log message in grader...
Commit Description:
added default grading mode, changed log message in grader
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@393 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
judge/scripts/config/environment.rb
| 9 lines
| 352 B
| text/x-ruby
| RubyLexer
|
|
r181 | # Rails app directory | ||
|
r186 | RAILS_ROOT = File.expand_path(File.join(File.dirname(__FILE__),"../../..")) | ||
GRADER_ROOT = File.expand_path(File.join(File.dirname(__FILE__),"..")) | ||||
|
r181 | |||
# 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" | ||||