Project

General

Profile

Actions

Defect #32223

closed

Disable sprockets to avoid Sprockets::Railtie::ManifestNeededError raised by sprockets 4.0.0

Added by Go MAEDA about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Gems support
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Redmine doesn't start with Sprockets::Railtie::ManifestNeededError if sprockets 4.0.0 is installed.

$ bin/rails c
Traceback (most recent call last):
    28: from bin/rails:4:in `<main>'
    27: from bin/rails:4:in `require'
.
.
.
/Users/maeda/redmines/gems/ruby/2.6.0/gems/sprockets-rails-3.2.1/lib/sprockets/railtie.rb:105:in `block in <class:Railtie>': Expected to find a manifest file in `app/assets/config/manifest.js` (Sprockets::Railtie::ManifestNeededError)
But did not, please create this file and use it to link any assets that need
to be rendered by your app:

Example:
  //= link_tree ../images
  //= link_directory ../javascripts .js
  //= link_directory ../stylesheets .css
and restart your server

Files

disable-sprockets.patch (1.47 KB) disable-sprockets.patch Go MAEDA, 2019-10-10 04:35
disable-sprockets.diff (1.52 KB) disable-sprockets.diff Go MAEDA, 2019-10-19 05:04
require_bench.rb (1.42 KB) require_bench.rb Pavel Rosický, 2019-10-20 14:23

Related issues

Related to Redmine - Defect #32300: Don't use sprockets 4.0.0 in order to avoid Sprockets::Railtie::ManifestNeededErrorClosedJean-Philippe Lang

Actions
Related to Redmine - Defect #32839: Redmine 4.1 installation fails due to an attempt to install sprockets 4.0.0 if bundler prior to 1.15.2 is used on Ruby prior to 2.5ClosedGo MAEDA

Actions
Related to Redmine - Defect #32852: Upgrading from Redmine v4.0.5 to v4.1.0 gives 2 errorsClosed

Actions
Actions

Also available in: Atom PDF