diff --git a/config/environment.rb b/config/environment.rb --- a/config/environment.rb +++ b/config/environment.rb @@ -59,4 +59,4 @@ # Include your application configuration below -UPLOADED_INPUT_FILE_DIR = '/home/jittat/web_grader/upload/' +UPLOADED_INPUT_FILE_DIR = RAILS_ROOT + '/upload'