Description:
removed specific dir info from environment.rb.SAMPLE git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@426 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

r198:fd1282d31714 - - 1 file changed: 3 inserted, 1 deleted

@@ -35,59 +35,61
35 35 # like if you have constraints or database-specific column types
36 36 # config.active_record.schema_format = :sql
37 37
38 38 # Activate observers that should always be running
39 39 # config.active_record.observers = :cacher, :garbage_collector
40 40
41 41 # Make Active Record use UTC-base instead of local time
42 42 config.time_zone = 'UTC'
43 43
44 44 # Setting locales
45 45 config.i18n.default_locale = 'en'
46 46
47 47 # See Rails::Configuration for more options
48 48
49 49 # -------------
50 50 # Required gems
51 51 # -------------
52 52 config.gem "haml"
53 53 config.gem "tmail"
54 54 config.gem "rdiscount", :lib => "rdiscount"
55 55
56 56 # NOTES on rspec: if you wan to test with rspec, you have to install
57 57 # rspec yourself, just call: [sudo] gem install rspec-rails
58 58
59 59 end
60 60
61 61 # Add new inflection rules using the following format
62 62 # (all these examples are active by default):
63 63 # Inflector.inflections do |inflect|
64 64 # inflect.plural /^(ox)$/i, '\1en'
65 65 # inflect.singular /^(ox)en/i, '\1'
66 66 # inflect.irregular 'person', 'people'
67 67 # inflect.uncountable %w( fish sheep )
68 68 # end
69 69
70 70 # Add new mime types for use in respond_to blocks:
71 71 # Mime::Type.register "text/richtext", :rtf
72 72 # Mime::Type.register "application/x-mobile", :mobile
73 73
74 74 # Include your application configuration below
75 75
76 76 # These are where inputs and outputs of test requests are stored
77 77 TEST_REQUEST_INPUT_FILE_DIR = RAILS_ROOT + '/data/test_request/input'
78 78 TEST_REQUEST_OUTPUT_FILE_DIR = RAILS_ROOT + '/data/test_request/output'
79 79
80 80 # To use ANALYSIS MODE, provide the testcases/testruns breakdown,
81 81 # and the directory of the grading result (usually in judge's dir).
82 82 TASK_GRADING_INFO_FILENAME = RAILS_ROOT + '/config/tasks.yml'
83 - GRADING_RESULT_DIR = '/home/thailandoi/ytopc/judge/result'
83 +
84 + # TODO: change this to where results are kept.
85 + GRADING_RESULT_DIR = 'RESULT-DIR'
84 86
85 87 # Uncomment so that configuration is read only once when the server is loaded
86 88 # Configuration.enable_caching
87 89
88 90 # Uncomment so that the system validates user e-mails
89 91 # VALIDATE_USER_EMAILS = true
90 92
91 93 # Uncomment so that Apache X-Sendfile is used when delivering files
92 94 # (e.g., in /tasks/view).
93 95 # USE_APACHE_XSENDFILE = true
You need to be logged in to leave comments. Login now