Commit d0c0bc95 by Ngô Trung Hưng

edit file config

parent b3918678
Pipeline #1110 failed with stages
in 0 seconds
...@@ -37,7 +37,7 @@ gem 'rails-i18n' ...@@ -37,7 +37,7 @@ gem 'rails-i18n'
gem 'i18n-js' gem 'i18n-js'
gem 'rsolr' gem 'rsolr'
gem 'config' gem 'config'
gem 'therubyracer'
# Use ActiveStorage variant # Use ActiveStorage variant
# gem 'mini_magick', '~> 4.8' # gem 'mini_magick', '~> 4.8'
......
...@@ -177,6 +177,7 @@ GEM ...@@ -177,6 +177,7 @@ GEM
activerecord activerecord
kaminari-core (= 1.2.1) kaminari-core (= 1.2.1)
kaminari-core (1.2.1) kaminari-core (1.2.1)
libv8 (3.16.14.19)
listen (3.1.5) listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4) rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7) rb-inotify (~> 0.9, >= 0.9.7)
...@@ -246,6 +247,7 @@ GEM ...@@ -246,6 +247,7 @@ GEM
rb-fsevent (0.10.4) rb-fsevent (0.10.4)
rb-inotify (0.10.1) rb-inotify (0.10.1)
ffi (~> 1.0) ffi (~> 1.0)
ref (2.0.0)
regexp_parser (1.7.1) regexp_parser (1.7.1)
request_store (1.5.0) request_store (1.5.0)
rack (>= 1.4) rack (>= 1.4)
...@@ -297,6 +299,9 @@ GEM ...@@ -297,6 +299,9 @@ GEM
actionpack (>= 4.0) actionpack (>= 4.0)
activesupport (>= 4.0) activesupport (>= 4.0)
sprockets (>= 3.0.0) sprockets (>= 3.0.0)
therubyracer (0.12.3)
libv8 (~> 3.16.14.15)
ref
thor (1.0.1) thor (1.0.1)
thread_safe (0.3.6) thread_safe (0.3.6)
tilt (2.0.10) tilt (2.0.10)
...@@ -355,6 +360,7 @@ DEPENDENCIES ...@@ -355,6 +360,7 @@ DEPENDENCIES
selenium-webdriver selenium-webdriver
spring spring
spring-watcher-listen (~> 2.0.0) spring-watcher-listen (~> 2.0.0)
therubyracer
turbolinks (~> 5) turbolinks (~> 5)
tzinfo-data tzinfo-data
uglifier (>= 1.3.0) uglifier (>= 1.3.0)
......
...@@ -14,7 +14,7 @@ default: &default ...@@ -14,7 +14,7 @@ default: &default
encoding: utf8mb4 encoding: utf8mb4
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
username: root username: root
password: 'Trunghung5055@' password: 1
socket: /var/run/mysqld/mysqld.sock socket: /var/run/mysqld/mysqld.sock
development: development:
......
number_result_search_in_page: 10 number_result_search_in_page: 10
url_server_solr: http://192.168.1.86:8983/solr/#/venjob
\ No newline at end of file
...@@ -52,7 +52,7 @@ class ImportData ...@@ -52,7 +52,7 @@ class ImportData
end end
if record.new_record? if record.new_record?
record.save record.save
IndexedJob.new(job).do IndexedJob.new(record).do
end end
rescue StandardError => e rescue StandardError => e
logger.error "Import_jobs: #{e}" logger.error "Import_jobs: #{e}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment