en
Sprog
  • en
  • de
  • fr
  • es
  • br
  • ru
  • jp
  • kr
AI-oversættelse
  • ae
  • cn
  • vn
  • id
  • eu
  • il
  • gr
  • no
  • fi
  • dk
  • se
  • tr
  • bg
  • nl
  • it
  • pl
  • hu
  • ro
  • ua
  • cs

rive afbrudt! | STD: LoadError: kan ikke indlæse en sådan fil - sass

intern fejl

Fejl

Installation eller opgradering mislykkes under samling af aktiver med den næste fejl:

rive afbrudt!
  STD: LoadError: kan ikke indlæse en sådan fil - sass
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/activesupport-4.2.8/lib/active_support/dependences.rb:274:in `require '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/activesupport-4.2.8/lib/active_support/dependences.rb:274:in `in blok in require '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/activesupport-4.2.8/lib/active_support/dependences.rb:240:in `load_dependency '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/activesupport-4.2.8/lib/active_support/dependences.rb:274:in `require '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/autoload/sass.rb:1:in ' '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/activesupport-4.2.8/lib/active_support/dependences.rb:274:in `require '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/activesupport-4.2.8/lib/active_support/dependences.rb:274:in `in blok in require '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/activesupport-4.2.8/lib/active_support/dependences.rb:240:in `load_dependency '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/activesupport-4.2.8/lib/active_support/dependences.rb:274:in `require '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/sass_compressor.rb:44:in 'initialize'
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/sass_compressor.rb:24:in `new '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/sass_compressor.rb:24:in 'instans'
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/sass_compressor.rb:28:in `call '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:75:in `call_processor '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:57:in 'blok i call_processors'
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `reverse_each '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `call_processors '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/loader.rb:134:in `load_from_unloaded '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/loader.rb:60:in 'blok i belastning'
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/loader.rb:44:in 'load'
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:20:in 'blok i initialisering'
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:47:in 'load'
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/base.rb:66:in `find_asset '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/base.rb:73:in `find_all_linked_assets '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:142:in 'blok i find'
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:114:in `blok (2 niveauer) i logiske_baner '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:228:in `blok i stat_tree '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `blok i stat_directory '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in 'each'
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:231:in `blok i stat_tree '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `blok i stat_directory '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in 'each'
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in 'each'
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in 'blok i logiske_baner'
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in 'each'
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `logical_paths '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:140:in `find '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:186:in `compile '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:68:in `blok (3 niveauer) i definere '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-3.7.2/lib/rake/sprocketstask.rb:147:in `with_logger '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:67:in `blok (2 niveauer) i definere '
  STD: /tmp/d20190418-1680-1un3bq8/plugins/easyproject/easy_plugins/easy_extensions/lib/tasks/installer.rake:50:in 'blok (2 niveauer) i '
  STD: /tmp/d20190418-1680-1un3bq8/plugins/easyproject/easy_plugins/easy_extensions/lib/tasks/installer.rake:72:in 'blok (2 niveauer) i '
  STD: /usr/local/rvm/gems/ruby-2.4.1/gems/rake-12.3.2/exe/rake:27:in ` '
  STD: /usr/local/rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:24:in `eval '
  STD: /usr/local/rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:24:in ` '
  STD: Opgaver: TOP => aktiver: forudkompiler
  STD: (Se fuld spor ved at køre opgave med --trace)

Årsag

Problemet er sassc-ruby, siden version 2.0. Det inkluderer ikke sass perle som en afhængighed, se https://github.com/sass/sassc-ruby/pull/85 . Tidligere Easy Redmine -versioner var afhængige af denne adfærd. Det blev rettet for længe siden, og hvis du downloadede den nyeste pakke fra klienter, bliver det rettet automatisk.

Men hvis denne fejl af en eller anden grund opstår under din opgradering, er der en enkel løsning.

Sådan repareres

1) Åbn fil -plugins/easyproject/Gemfile i enhver editor, og find linjen

perle 'sassc', '> = 1.12.1'

2) Skift linjen til følgende

perle 'sassc', '1.12.1'

3. Gem ændringerne.

4. Genstart bundleinstallation og bundt exec rake easyproject: installer kommandoer.

5. Fortsæt regelmæssig opgraderingsprocedure.

Dette problem er løst fra Easy Redmine 2018 1.3, platorm version 05.02. Men det kan forekomme ved opgradering fra ældre versioner.

Afhængighedsnotat

Ruby-sass vedligeholdes ikke længere http://sass.logdown.com/posts/7828841

Prøv Easy Redmine i 30 dages gratis prøveperiode

Fuldstændige funktioner, SSL-beskyttet, daglige backups, i din geolocation