Package: ruby-sprockets
Version: 4.2.1-3
Severity: important
X-Debbugs-Cc: Pirate Praveen <[email protected]>, [email protected]
Hello,
Debian's package for sprockets overrides the usage of uglifier to terser.
However, there is a version number check in uglifier_compressor.rb which
is not properly handled leading to the inability to use uglifier or terser
as part of the sprockets js asset pipeline.
For example, when trying to build the assets for mailcatcher, I get:
$ rake assets
rake aborted!
uglifier 1.x is no longer supported, please upgrade to 2.x or newer
We should remove the version check so that this works properly. I plan to
submit an MR in salsa to do this.
--Joe
-- System Information:
Debian Release: 13.1
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates'), (500,
'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'),
(500, 'oldstable-updates'), (500, 'oldstable-security'), (500,
'oldstable-proposed-updates-debug'), (500, 'oldstable-debug'), (500,
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.38+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ruby-sprockets depends on:
ii ruby 1:3.3+b1
ii ruby-concurrent 1.3.5-1
ii ruby-hike 1.2.1-3.1
ii ruby-multi-json 1.15.0-1
ii ruby-rack 3.1.16-0.1
ii ruby-tilt 2.4.0-3
ruby-sprockets recommends no packages.
ruby-sprockets suggests no packages.
-- no debconf information