Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,3 @@ group :development, :test do

gem "rails-controller-testing", "~> 1.0"
end

# Gems used only for assets and not required
# in production environments by default.
# group :assets do
gem "uglifier", ">=1.0.3"
# Provide a JS runtime to execjs without needing to
# have node, bun, or similar installed on the relevant
# server. We should write this out asap, along with the
# rest of the gems in this assets category, as bundling
# a version of libv8 into a rubygem is just security-vuln
# city, but hey, what can you do.
gem "mini_racer", "~> 0.4.0"
gem "yui-compressor"
# end
10 changes: 0 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ GEM
erubi (1.13.1)
erubis (2.7.0)
eventmachine (1.2.7)
execjs (2.9.0)
factory_bot (5.2.0)
activesupport (>= 4.2.0)
factory_bot_rails (5.2.0)
Expand All @@ -145,7 +144,6 @@ GEM
i18n_data (0.11.0)
iso8601 (0.13.0)
json (2.7.6)
libv8-node (15.14.0.1)
logger (1.5.3)
loofah (2.20.0)
crass (~> 1.0.2)
Expand Down Expand Up @@ -173,8 +171,6 @@ GEM
mime-types-data (3.2025.0415)
mini_mime (1.1.2)
mini_portile2 (2.4.0)
mini_racer (0.4.0)
libv8-node (~> 15.14.0.0)
minitest (5.15.0)
mustermann (2.0.2)
ruby2_keywords (~> 0.0.1)
Expand Down Expand Up @@ -356,8 +352,6 @@ GEM
ttfunk (1.6.2.1)
tzinfo (1.2.11)
thread_safe (~> 0.1)
uglifier (4.2.1)
execjs (>= 0.3.0, < 3)
unf (0.2.0)
unicode-display_width (2.6.0)
unicode_utils (1.4.0)
Expand All @@ -378,7 +372,6 @@ GEM
i18n (>= 0.6)
xpath (3.2.0)
nokogiri (~> 1.8)
yui-compressor (0.12.0)

PLATFORMS
ruby
Expand All @@ -402,7 +395,6 @@ DEPENDENCIES
has_scope
loofah (<= 2.20.0)
mechanize
mini_racer (~> 0.4.0)
newrelic_rpm
nokogiri (~> 1.10.10)
pdf-reader
Expand Down Expand Up @@ -435,11 +427,9 @@ DEPENDENCIES
standard
superfish-rails (~> 1.6.0)
tilt
uglifier (>= 1.0.3)
whenever
will_paginate
world-flags
yui-compressor

RUBY VERSION
ruby 2.4.10p364
Expand Down
3 changes: 0 additions & 3 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
# Only use best-standards-support built into browsers
config.action_dispatch.best_standards_support = :builtin

# Do not compress assets
config.assets.compress = false

# Expands the lines which load the assets
config.assets.debug = true

Expand Down
5 changes: 2 additions & 3 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@
config.active_support.deprecation = :log

# Compress JavaScript and CSS
config.assets.compress = true
config.assets.css_compressor = :yui
config.assets.js_compressor = :uglifier
# config.assets.css_compressor = :yui
# config.assets.js_compressor = :uglifier

# Don't fallback to assets pipeline
# config.assets.compile = false
Expand Down
2 changes: 0 additions & 2 deletions script/install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ bash script/install/nztrain.bash || exit 1 # fix files & directory structure

bash script/install/bundler.bash || exit 1

bash script/install/jre.bash || exit 1 # required by yui-compressor

sudo bash script/install/isolate.bash || exit 1 # install isolate
sudo bash script/install/cgroup.bash || exit 1 # install cgroups
sudo bash script/install/isolock.bash || exit 1 # install isolock
Expand Down
7 changes: 0 additions & 7 deletions script/install/jre.bash

This file was deleted.