Show More
Commit Description:
[grader] [MERGED] Merged new-arch-branch changes 74:105 into the trunk...
Commit Description:
[grader] [MERGED] Merged new-arch-branch changes 74:105 into the trunk git-svn-id: http://theory.cpe.ku.ac.th/grader/judge/trunk/scripts@106 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
config/environment.rb.SAMPLE | 10 lines | 289 B | text/plain | TextLexer |
# 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"