Description:
fix import dir bug
git-svn-id: http://theory.cpe.ku.ac.th/grader/cli/trunk/scripts@14 6386c4cd-e34a-4fa8-8920-d93eb39b512e
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r2:f854d6ed3319 - - 3 files changed: 3 inserted, 3 deleted
@@ -3,4 +3,4 | |||||
|
3 | RAILS_APP_DIR = "/home/jittat/web_grader" |
|
3 | RAILS_APP_DIR = "/home/jittat/web_grader" |
|
4 |
|
4 | ||
|
5 | # load the required environment file |
|
5 | # load the required environment file |
|
6 | - require "env_#{GRADER_ENV}.rb" |
|
6 | + require File.dirname(__FILE__) + "/env_#{GRADER_ENV}.rb" |
You need to be logged in to leave comments.
Login now