Description:
installs bundler before running bundle in installation script
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r142:b55671b945cc - - 1 file changed: 1 inserted, 1 deleted

@@ -97,25 +97,25
97 echo " pool: 5" >> config/database.yml
97 echo " pool: 5" >> config/database.yml
98 echo " username: $username" >> config/database.yml
98 echo " username: $username" >> config/database.yml
99 echo " password: $password" >> config/database.yml
99 echo " password: $password" >> config/database.yml
100 echo " host: localhost" >> config/database.yml
100 echo " host: localhost" >> config/database.yml
101 echo " socket: /var/run/mysqld/mysqld.sock" >> config/database.yml
101 echo " socket: /var/run/mysqld/mysqld.sock" >> config/database.yml
102
102
103 echo "Object.instance_eval{remove_const :GRADER_ROOT_DIR}" >> config/initializers/cafe_grader_config.rb
103 echo "Object.instance_eval{remove_const :GRADER_ROOT_DIR}" >> config/initializers/cafe_grader_config.rb
104 echo "Object.instance_eval{remove_const :GRADING_RESULT_DIR}" >> config/initializers/cafe_grader_config.rb
104 echo "Object.instance_eval{remove_const :GRADING_RESULT_DIR}" >> config/initializers/cafe_grader_config.rb
105 echo "GRADER_ROOT_DIR = '$CAFE_PATH/judge'" >> config/initializers/cafe_grader_config.rb
105 echo "GRADER_ROOT_DIR = '$CAFE_PATH/judge'" >> config/initializers/cafe_grader_config.rb
106 echo "GRADING_RESULT_DIR = '$CAFE_PATH/judge/result'" >> config/initializers/cafe_grader_config.rb
106 echo "GRADING_RESULT_DIR = '$CAFE_PATH/judge/result'" >> config/initializers/cafe_grader_config.rb
107
107
108 echo "Installing required gems"
108 echo "Installing required gems"
109 -
109 + gem install bundler
110 bundle install
110 bundle install
111
111
112 echo "Running rake tasks to initialize database"
112 echo "Running rake tasks to initialize database"
113
113
114 rake db:migrate
114 rake db:migrate
115 rake db:seed
115 rake db:seed
116
116
117 echo "Intalling web interface complete..."
117 echo "Intalling web interface complete..."
118 echo
118 echo
119 echo "Fetching grader"
119 echo "Fetching grader"
120
120
121 cd ..
121 cd ..
You need to be logged in to leave comments. Login now