Description:
no more environment.rb.SAMPLE, binded judge config to its containing rails app git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@384 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r181:138a4b5a927f - - 3 files changed: 11 inserted, 11 deleted

@@ -0,0 +1,10
1 + # Rails app directory
2 + RAILS_ROOT = File.join(File.dirname(__FILE__),"../../..")
3 +
4 + GRADER_ROOT = File.join(File.dirname(__FILE__),"..")
5 +
6 + # This load all required codes
7 + require File.join(File.dirname(__FILE__),'../lib/boot')
8 +
9 + # load the required environment file
10 + require File.dirname(__FILE__) + "/env_#{GRADER_ENV}.rb"
deleted file
You need to be logged in to leave comments. Login now