socialpandas / sidekiq_monitor

Advanced monitoring for Sidekiq
MIT License
230 stars 35 forks source link

LoadError - cannot load such file -- sass #42

Open syedsanahassan opened 3 years ago

syedsanahassan commented 3 years ago

Hey,

I have a rails 4.2 app and trying to use this gem but keep running into the issue of "LoadError - cannot load such file -- sass", any idea what's could be the problem?

Gemfile

source 'https://rubygems.org'

gem 'rails', '4.2' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'mysql2', '~>0.3.18' # Use mysql as the database for Active Record
gem "recaptcha" # Add reCAPTCHA verification on signup page. https://github.com/ambethia/recaptcha
gem 'rubyzip' #Use in unzipping zipped files downloaded, especially for Avantio
gem 'sprockets-rails', '2.3.3' #For rake assets:precompile rake assets:clean rake assets:clobber
gem 'rails_config', '0.4.2' #For settings.yml
gem 'devise' #Used in auth
gem 'braintree', '~> 2.100.0'

#Background jobs
gem 'sidetiq', '0.7.0'
gem 'sidekiq-middleware', '0.3.0'
#New background jobs
gem 'sidekiq-scheduler'
gem 'attentive_sidekiq'
gem 'sidekiq_monitor'

gem 'redis'
gem 'redis-namespace'
gem 'redis-rails'
gem 'prawn' # For billing PDF
gem 'activerecord-session_store' #Settings user's session, check session_store.rb
gem 'activerecord-import', '0.27.0' #For batch import
gem 'bunny', '2.15.0' #For sequential queue (for new listings)

gem 'omniauth-bookingsync', '0.5.0'
gem 'bookingsync-api'
gem 'omniauth-myvr', '1.0.0'

gem 'savon', '2.5.1' #Reading savon SOAP
gem 'geocoder', '1.6.1'

gem 'amazing_print'
gem 'net_tcp_client'
gem "syslog_protocol"
gem 'rails_semantic_logger'
gem 'oj', '3.10.8'

group :production do
  gem 'rack', '1.6.5'
  gem 'uglifier', '>= 4.2.0'# Use Uglifier as compressor for JavaScript assets
  gem 'turbolinks' # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
end

group :development, :test do
  gem 'byebug'
  gem 'better_errors'
  gem 'capistrano', '~> 3.6'
  gem 'capistrano-rails', '~> 1.2'
  gem 'capistrano-rvm'
  gem 'puma'
  gem 'unicorn'
  gem 'unicorn-worker-killer'
end

The error is

LoadError - cannot load such file -- sass:
  activesupport (4.2.0) lib/active_support/dependencies.rb:274:in `require'
  activesupport (4.2.0) lib/active_support/dependencies.rb:274:in `block in require'
  activesupport (4.2.0) lib/active_support/dependencies.rb:240:in `load_dependency'
  activesupport (4.2.0) lib/active_support/dependencies.rb:274:in `require'
  sprockets (3.7.1) lib/sprockets/autoload/sass.rb:1:in `<top (required)>'
  activesupport (4.2.0) lib/active_support/dependencies.rb:274:in `require'
  activesupport (4.2.0) lib/active_support/dependencies.rb:274:in `block in require'
  activesupport (4.2.0) lib/active_support/dependencies.rb:240:in `load_dependency'
  activesupport (4.2.0) lib/active_support/dependencies.rb:274:in `require'
  sprockets (3.7.1) lib/sprockets/sass_processor.rb:47:in `initialize'
  sprockets (3.7.1) lib/sprockets/sass_processor.rb:26:in `new'
  sprockets (3.7.1) lib/sprockets/sass_processor.rb:26:in `instance'
  sprockets (3.7.1) lib/sprockets/sass_processor.rb:30:in `call'
  sprockets (3.7.1) lib/sprockets/processor_utils.rb:75:in `call_processor'
  sprockets (3.7.1) lib/sprockets/processor_utils.rb:57:in `block in call_processors'
  sprockets (3.7.1) lib/sprockets/processor_utils.rb:56:in `reverse_each'
  sprockets (3.7.1) lib/sprockets/processor_utils.rb:56:in `call_processors'
  sprockets (3.7.1) lib/sprockets/loader.rb:134:in `load_from_unloaded'
  sprockets (3.7.1) lib/sprockets/loader.rb:60:in `block in load'
  sprockets (3.7.1) lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
  sprockets (3.7.1) lib/sprockets/loader.rb:44:in `load'
  sprockets (3.7.1) lib/sprockets/cached_environment.rb:20:in `block in initialize'
  sprockets (3.7.1) lib/sprockets/cached_environment.rb:47:in `load'
  sprockets (3.7.1) lib/sprockets/bundle.rb:23:in `block in call'
  sprockets (3.7.1) lib/sprockets/utils.rb:200:in `dfs'
  sprockets (3.7.1) lib/sprockets/bundle.rb:24:in `call'
  sprockets (3.7.1) lib/sprockets/processor_utils.rb:75:in `call_processor'
  sprockets (3.7.1) lib/sprockets/processor_utils.rb:57:in `block in call_processors'
  sprockets (3.7.1) lib/sprockets/processor_utils.rb:56:in `reverse_each'
  sprockets (3.7.1) lib/sprockets/processor_utils.rb:56:in `call_processors'
  sprockets (3.7.1) lib/sprockets/loader.rb:134:in `load_from_unloaded'
  sprockets (3.7.1) lib/sprockets/loader.rb:60:in `block in load'
  sprockets (3.7.1) lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
  sprockets (3.7.1) lib/sprockets/loader.rb:44:in `load'
  sprockets (3.7.1) lib/sprockets/cached_environment.rb:20:in `block in initialize'
  sprockets (3.7.1) lib/sprockets/cached_environment.rb:47:in `load'
  sprockets (3.7.1) lib/sprockets/base.rb:66:in `find_asset'
  sprockets (3.7.1) lib/sprockets/environment.rb:30:in `find_asset'
  sprockets (3.7.1) lib/sprockets/base.rb:92:in `[]'
  sprockets-rails (2.3.3) lib/sprockets/rails/helper.rb:230:in `lookup_asset_for_path'
  sprockets-rails (2.3.3) lib/sprockets/rails/helper.rb:160:in `block in stylesheet_link_tag'
  sprockets-rails (2.3.3) lib/sprockets/rails/helper.rb:158:in `map'
  sprockets-rails (2.3.3) lib/sprockets/rails/helper.rb:158:in `stylesheet_link_tag'
  /Users/extraaccount/pl/sidekiq_monitor/app/views/sidekiq/monitor/layouts/application.slim:6:in `___sers_extraaccount_pl_sidekiq_monitor_app_views_sidekiq_monitor_layouts_application_slim__3481388199856176669_70312135819920'
  actionview (4.2.0) lib/action_view/template.rb:145:in `block in render'
  activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument'
  actionview (4.2.0) lib/action_view/template.rb:333:in `instrument'
  actionview (4.2.0) lib/action_view/template.rb:143:in `render'
  actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:66:in `render_with_layout'
  actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
  actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render'
  actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
  actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render'
  actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template'
  actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
  actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body'
  actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
  actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
  actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'
  actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render'
  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
  activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
  /Users/extraaccount/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
  activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
  activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render'
  actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
  actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
  actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
  actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
  actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
  activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
  activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
  activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
  activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
  activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
  activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
  actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
  activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
  actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
  actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
  activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
  actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
  actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
  actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
  actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
  actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
  actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
  actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
  railties (4.2.0) lib/rails/engine.rb:518:in `call'
  railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
  railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
  actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
  actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
  actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
  actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
  actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
  omniauth (1.6.1) lib/omniauth/strategy.rb:189:in `call!'
  omniauth (1.6.1) lib/omniauth/strategy.rb:167:in `call'
  omniauth (1.6.1) lib/omniauth/strategy.rb:189:in `call!'
  omniauth (1.6.1) lib/omniauth/strategy.rb:167:in `call'
  omniauth (1.6.1) lib/omniauth/builder.rb:63:in `call'
  warden (1.2.7) lib/warden/manager.rb:36:in `block in call'
  warden (1.2.7) lib/warden/manager.rb:35:in `catch'
  warden (1.2.7) lib/warden/manager.rb:35:in `call'
  rack (1.6.5) lib/rack/etag.rb:24:in `call'
  rack (1.6.5) lib/rack/conditionalget.rb:25:in `call'
  rack (1.6.5) lib/rack/head.rb:13:in `call'
  actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
  actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
  rack (1.6.5) lib/rack/session/abstract/id.rb:225:in `context'
  rack (1.6.5) lib/rack/session/abstract/id.rb:220:in `call'
  actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
  activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
  activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
  activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
  actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
  activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
  activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
  activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
  actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
  better_errors (2.3.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
  better_errors (2.3.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
  better_errors (2.3.0) lib/better_errors/middleware.rb:57:in `call'
  actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
  actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  rails_semantic_logger (4.4.4) lib/rails_semantic_logger/rack/logger.rb:43:in `call_app'
  rails_semantic_logger (4.4.4) lib/rails_semantic_logger/rack/logger.rb:26:in `block in call'
  semantic_logger (4.7.2) lib/semantic_logger/semantic_logger.rb:387:in `named_tagged'
  semantic_logger (4.7.2) lib/semantic_logger/base.rb:195:in `tagged'
  rails_semantic_logger (4.4.4) lib/rails_semantic_logger/rack/logger.rb:26:in `call'
  actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
  rack (1.6.5) lib/rack/methodoverride.rb:22:in `call'
  rack (1.6.5) lib/rack/runtime.rb:18:in `call'
  rack (1.6.5) lib/rack/lock.rb:17:in `call'
  rack (1.6.5) lib/rack/deflater.rb:35:in `call'
  actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
  rack (1.6.5) lib/rack/sendfile.rb:113:in `call'
  railties (4.2.0) lib/rails/engine.rb:518:in `call'
  railties (4.2.0) lib/rails/application.rb:164:in `call'
  activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
  rack (1.6.5) lib/rack/content_length.rb:15:in `call'
  puma (4.3.5) lib/puma/configuration.rb:228:in `call'
  puma (4.3.5) lib/puma/server.rb:713:in `handle_request'
  puma (4.3.5) lib/puma/server.rb:472:in `process_client'
  puma (4.3.5) lib/puma/server.rb:328:in `block in run'
  puma (4.3.5) lib/puma/thread_pool.rb:134:in `block in spawn_thread'