use NODE_ENV=production when compiling assets in upgrader script

This commit is contained in:
Mike Greiling 2017-02-16 01:05:31 -06:00
parent 2f0d0b510d
commit cda34805da

View file

@ -67,7 +67,10 @@ module Gitlab
end
def env
{ 'RAILS_ENV' => 'production' }
{
'RAILS_ENV' => 'production',
'NODE_ENV' => 'production'
}
end
def upgrade