diff --git a/Dockerfile b/Dockerfile index 652b1dd21fe..99752425781 100644 --- a/Dockerfile +++ b/Dockerfile @@ -138,7 +138,7 @@ RUN source /etc/default/evm && \ npm install bower yarn -g && \ gem install bundler --conservative && \ bundle install && \ - rake update:bower && \ + rake update:ui && \ bin/rails log:clear tmp:clear && \ rake evm:compile_assets && \ rake evm:compile_sti_loader && \ diff --git a/lib/manageiq/environment.rb b/lib/manageiq/environment.rb index 4a4fc9497fc..69a6dd7c816 100644 --- a/lib/manageiq/environment.rb +++ b/lib/manageiq/environment.rb @@ -37,7 +37,7 @@ def self.ensure_config_files def self.while_updating_bower # Run bower in a thread and continue to do the non-js stuff puts "Updating bower assets in parallel..." - bower_thread = Thread.new { update_bower } + bower_thread = Thread.new { update_ui } bower_thread.abort_on_exception = true yield @@ -106,8 +106,8 @@ def self.create_database_user system!(%q(psql -c "CREATE USER root SUPERUSER PASSWORD 'smartvm';" -U postgres)) end - def self.update_bower - system!("bundle exec rake update:bower") + def self.update_ui + system!("bundle exec rake update:ui") end def self.bundler_version