Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootsnap::LoadPathCache::FallbackScan #250

Closed
zeeshangulzar opened this issue Mar 21, 2019 · 11 comments
Closed

Bootsnap::LoadPathCache::FallbackScan #250

zeeshangulzar opened this issue Mar 21, 2019 · 11 comments

Comments

@zeeshangulzar
Copy link

zeeshangulzar commented Mar 21, 2019

I have upgraded my app from 5.1.0 to 5.2.2 and we were already using the bootsnap version 1.2.0 in rails 5.1.0

After upgrade i am getting following error at different pages.

Bootsnap::LoadPathCache::FallbackScan

I have deleted the tmp/cache already, but it didn't work. Also i tried to downgrade the gem but it require active-record < 5.2 and for rails 5.2.2, it require active-record 5.2.2
I also tried to use latest code from github, but the issue persist.

Following are the details of my code.

Error StackTrace

Processing by CompanyOptionsController#index as HTML
  Parameters: {"locale"=>"en"}
  User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1260], ["LIMIT", 1]]
  ↳ /Users/xeeshan/.rvm/gems/ruby-2.5.1/bundler/gems/bullet-58f8f4f148f7/lib/bullet/active_record52.rb:18
  Company Load (1.3ms)  SELECT "companies".* FROM "companies" WHERE "companies"."deleted_at" IS NULL AND "companies"."id" = $1  [["id", 2]]
  ↳ /Users/xeeshan/.rvm/gems/ruby-2.5.1/bundler/gems/bullet-58f8f4f148f7/lib/bullet/active_record52.rb:18
  Subscription Load (1.4ms)  SELECT "subscriptions".* FROM "subscriptions" WHERE "subscriptions"."deleted_at" IS NULL AND "subscriptions"."company_id" = $1  [["company_id", 2]]
  ↳ /Users/xeeshan/.rvm/gems/ruby-2.5.1/bundler/gems/bullet-58f8f4f148f7/lib/bullet/active_record52.rb:18
  SubscriptionPlan Load (1.3ms)  SELECT "subscription_plans".* FROM "subscription_plans" WHERE "subscription_plans"."deleted_at" IS NULL AND "subscription_plans"."id" = $1  [["id", 13]]
  ↳ /Users/xeeshan/.rvm/gems/ruby-2.5.1/bundler/gems/bullet-58f8f4f148f7/lib/bullet/active_record52.rb:18
  TenantedAddress Load (1.2ms)  SELECT "addresses".* FROM "addresses" WHERE "addresses"."deleted_at" IS NULL AND "addresses"."company_id" = $1 AND "addresses"."addressable_type" = $2 AND "addresses"."addressable_id" = $3  [["company_id", 2], ["addressable_type", "Company"], ["addressable_id", 2]]
  ↳ /Users/xeeshan/.rvm/gems/ruby-2.5.1/bundler/gems/bullet-58f8f4f148f7/lib/bullet/active_record52.rb:18
  Rendering company_options/index.html.slim within layouts/application
   (1.3ms)  SELECT COUNT(*) FROM "water_purveyors" WHERE "water_purveyors"."deleted_at" IS NULL AND "water_purveyors"."company_id" = $1 AND "water_purveyors"."company_id" = $2 AND "water_purveyors"."dummy_data" = $3  [["company_id", 2], ["company_id", 2], ["dummy_data", true]]
  ↳ app/services/company_dummy_data.rb:18
  Rendered layouts/_portlet.html.slim (14.6ms)
  Rendered layouts/_portlet.html.slim (22.5ms)
  Rendered company_options/index.html.slim within layouts/application (29.5ms)
Completed 500 Internal Server Error in 86ms (ActiveRecord: 7.7ms)



Bootsnap::LoadPathCache::FallbackScan - :
  app/decorators/company_decorator.rb:43:in `logo_image'
  app/views/company_options/index.html.slim:15:in `block (3 levels) in _app_views_company_options_index_html_slim__3898742201988920041_70214542469460'
  app/views/layouts/_portlet.html.slim:34:in `_app_views_layouts__portlet_html_slim___3902131105604379590_70214677678400'
  app/views/company_options/index.html.slim:13:in `block (2 levels) in _app_views_company_options_index_html_slim__3898742201988920041_70214542469460'
  app/views/company_options/index.html.slim:8:in `block in _app_views_company_options_index_html_slim__3898742201988920041_70214542469460'
  app/views/layouts/_portlet.html.slim:34:in `_app_views_layouts__portlet_html_slim___3902131105604379590_70214556601860'
  app/views/company_options/index.html.slim:3:in `_app_views_company_options_index_html_slim__3898742201988920041_70214542469460'
  app/controllers/concerns/shared_app_controller.rb:58:in `set_time_zone_user'

Started POST "/__better_errors/a2ba5db8dda808b0/variables" for 127.0.0.1 at 2019-03-21 17:49:32 +0500

Boot.rb


require 'bundler/setup' # Set up gems listed in the Gemfile.
require 'bootsnap/setup'

Gemfile.lock

  remote: https://github.com/ErwinM/acts_as_tenant
  revision: 118aab88b67d6761110fc0ef5c78d1423588d7ee
  ref: 118aab8
  specs:
    acts_as_tenant (0.4.0)
      rails (>= 3.1)
      request_store (>= 1.0.5)

GIT
  remote: https://github.com/Talha5/particlerb
  revision: 8508125b6897bde09762d683ba7a8d984f666217
  branch: product-devices
  specs:
    particlerb (2.0.0)
      faraday (>= 0.9.0)
      faraday_middleware (>= 0.9.0)

GIT
  remote: https://github.com/ThoughtWorksStudios/eb_deployer
  revision: e5674355bbef70a7e7704dc087c34924f73a60d5
  ref: e567435
  specs:
    eb_deployer (0.6.6)
      aws-sdk (~> 2, >= 2.0.0)

GIT
  remote: https://github.com/Tongboy/cocoon
  revision: 1874d0f849ef4862efa9ccfdfe94944655e51be6
  ref: 1874d0f849ef4862efa9ccfdfe94944655e51be6
  specs:
    cocoon (1.2.9)

GIT
  remote: https://github.com/Tongboy/draftsman
  revision: 56dbedc2f773df937015c88eb18f129054d4d6da
  ref: 56dbedc
  specs:
    draftsman (0.8.0.dev)
      activerecord (>= 4.2, < 5.3)

GIT
  remote: https://github.com/Tongboy/intercom_event
  revision: 045e9cd3f42954f14897fe8543322b3dcaaa7f15
  specs:
    intercom_event (0.1.0)
      activesupport (>= 3.1)

GIT
  remote: https://github.com/Tukaiz/dossier
  revision: 6271018a0804de03b177fd3df13c9372ccb7f23f
  ref: 6271018
  specs:
    dossier (2.13.4)
      actionmailer (>= 3.2)
      actionpack (>= 3.2)
      activesupport (>= 3.2)
      arel (>= 3.0)
      railties (>= 3.2)
      responders (>= 1.1)

GIT
  remote: https://github.com/drapergem/draper.git
  revision: d44c86f1e560afc0cf0dad4ae09bfaa3f10a1759
  specs:
    draper (3.1.0)
      actionpack (>= 5.0)
      activemodel (>= 5.0)
      activemodel-serializers-xml (>= 1.0)
      activesupport (>= 5.0)
      request_store (>= 1.0)

GIT
  remote: https://github.com/flyerhzm/bullet
  revision: 58f8f4f148f7fa52863dce61f2ad19fe339a7689
  specs:
    bullet (5.9.0)
      activesupport (>= 3.0.0)
      uniform_notifier (~> 1.11)

GIT
  remote: https://github.com/nerian/bootstrap-wysihtml5-rails
  revision: 3a91af3a0a5929fde564faf8fd679dcbf4d19f1e
  specs:
    bootstrap-wysihtml5-rails (0.3.3.8)
      railties (>= 3.0)

GIT
  remote: https://github.com/randym/axlsx
  revision: c593a08b2a929dac7aa8dc418b55e26b4c49dc34
  specs:
    axlsx (3.0.0.pre)
      htmlentities (~> 4.3, >= 4.3.4)
      mimemagic (~> 0.3)
      nokogiri (~> 1.8, >= 1.8.2)
      rubyzip (~> 1.2, >= 1.2.1)

GIT
  remote: https://github.com/vintrepid/polyamorous.git
  revision: 7d31e0140e95f40f4b17e7c51e6647cf98f29686
  specs:
    polyamorous (1.3.4)
      activerecord (>= 3.0)

GEM
  remote: https://rubygems.org/
  remote: https://gems.contribsys.com/
  specs:
    aasm (5.0.2)
      concurrent-ruby (~> 1.0)
    actioncable (5.2.2.1)
      actionpack (= 5.2.2.1)
      nio4r (~> 2.0)
      websocket-driver (>= 0.6.1)
    actionmailer (5.2.2.1)
      actionpack (= 5.2.2.1)
      actionview (= 5.2.2.1)
      activejob (= 5.2.2.1)
      mail (~> 2.5, >= 2.5.4)
      rails-dom-testing (~> 2.0)
    actionpack (5.2.2.1)
      actionview (= 5.2.2.1)
      activesupport (= 5.2.2.1)
      rack (~> 2.0)
      rack-test (>= 0.6.3)
      rails-dom-testing (~> 2.0)
      rails-html-sanitizer (~> 1.0, >= 1.0.2)
    actionview (5.2.2.1)
      activesupport (= 5.2.2.1)
      builder (~> 3.1)
      erubi (~> 1.4)
      rails-dom-testing (~> 2.0)
      rails-html-sanitizer (~> 1.0, >= 1.0.3)
    active_model_serializers (0.10.9)
      actionpack (>= 4.1, < 6)
      activemodel (>= 4.1, < 6)
      case_transform (>= 0.2)
      jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
    activejob (5.2.2.1)
      activesupport (= 5.2.2.1)
      globalid (>= 0.3.6)
    activemodel (5.2.2.1)
      activesupport (= 5.2.2.1)
    activemodel-serializers-xml (1.0.2)
      activemodel (> 5.x)
      activesupport (> 5.x)
      builder (~> 3.1)
    activerecord (5.2.2.1)
      activemodel (= 5.2.2.1)
      activesupport (= 5.2.2.1)
      arel (>= 9.0)
    activestorage (5.2.2.1)
      actionpack (= 5.2.2.1)
      activerecord (= 5.2.2.1)
      marcel (~> 0.3.1)
    activesupport (5.2.2.1)
      concurrent-ruby (~> 1.0, >= 1.0.2)
      i18n (>= 0.7, < 2)
      minitest (~> 5.1)
      tzinfo (~> 1.1)
    addressable (2.6.0)
      public_suffix (>= 2.0.2, < 4.0)
    administrate (0.11.0)
      actionpack (>= 4.2, < 6.0)
      actionview (>= 4.2, < 6.0)
      activerecord (>= 4.2, < 6.0)
      autoprefixer-rails (>= 6.0)
      datetime_picker_rails (~> 0.0.7)
      jquery-rails (>= 4.0)
      kaminari (>= 1.0)
      momentjs-rails (~> 2.8)
      sass-rails (~> 5.0)
      selectize-rails (~> 0.6)
    aes_key_wrap (1.0.1)
    after_commit_action (1.1.0)
      activerecord (>= 3.0.0)
      activesupport (>= 3.0.0)
    ahoy_matey (2.2.0)
      addressable
      browser (~> 2.0)
      device_detector
      geocoder (>= 1.4.5)
      railties (>= 4.2)
      referer-parser (>= 0.3)
      request_store
      safely_block (>= 0.2.1)
      user_agent_parser
    american_date (1.1.1)
    annotate (2.7.4)
      activerecord (>= 3.2, < 6.0)
      rake (>= 10.4, < 13.0)
    ansi (1.5.0)
    arel (9.0.0)
    ast (2.4.0)
    attr_encrypted (3.1.0)
      encryptor (~> 3.0.0)
    attr_required (1.0.1)
    attribute_normalizer (1.2.0)
    autoprefixer-rails (9.5.0)
      execjs
    awesome_print (1.8.0)
    aws-eventstream (1.0.2)
    aws-sdk (2.11.242)
      aws-sdk-resources (= 2.11.242)
    aws-sdk-core (2.11.242)
      aws-sigv4 (~> 1.0)
      jmespath (~> 1.0)
    aws-sdk-resources (2.11.242)
      aws-sdk-core (= 2.11.242)
    aws-sigv4 (1.1.0)
      aws-eventstream (~> 1.0, >= 1.0.2)
    axiom-types (0.1.1)
      descendants_tracker (~> 0.0.4)
      ice_nine (~> 0.11.0)
      thread_safe (~> 0.3, >= 0.3.1)
    axlsx_rails (0.5.2)
      actionpack (>= 3.1)
      axlsx (>= 2.0.1)
    baby_squeel (1.3.1)
      activerecord (>= 4.2.0)
      join_dependency (~> 0.1.2)
      polyamorous (~> 1.3)
    bcrypt (3.1.12)
    better_errors (2.5.1)
      coderay (>= 1.0.0)
      erubi (>= 1.0.0)
      rack (>= 0.9.0)
    bindata (2.4.4)
    bindex (0.5.0)
    binding_of_caller (0.8.0)
      debug_inspector (>= 0.0.1)
    blazer (2.0.1)
      activerecord (>= 4.2)
      chartkick
      railties (>= 4.2)
      safely_block (>= 0.1.1)
    bootsnap (1.4.1)
      msgpack (~> 1.0)
    bourbon (5.1.0)
      sass (~> 3.4)
      thor (~> 0.19)
    brakeman (4.5.0)
    browser (2.5.3)
    builder (3.2.3)
    bundler-audit (0.6.1)
      bundler (>= 1.2.0, < 3)
      thor (~> 0.18)
    byebug (11.0.1)
    cancancan (1.17.0)
    capybara (2.18.0)
      addressable
      mini_mime (>= 0.1.3)
      nokogiri (>= 1.3.3)
      rack (>= 1.0.0)
      rack-test (>= 0.5.4)
      xpath (>= 2.0, < 4.0)
    capybara-screenshot (1.0.22)
      capybara (>= 1.0, < 4)
      launchy
    carmen (1.1.1)
      activesupport (>= 3.0.0)
    case_transform (0.2)
      activesupport
    chartkick (3.0.2)
    chewy (0.9.0)
      activesupport (>= 3.2)
      elasticsearch (>= 1.0.0)
    childprocess (0.9.0)
      ffi (~> 1.0, >= 1.0.11)
    choice (0.2.0)
    chronic_duration (0.10.6)
      numerizer (~> 0.1.1)
    climate_control (0.2.0)
    cliver (0.3.2)
    closeio (3.5.0)
      faraday
      faraday_middleware
      json
    coderay (1.1.2)
    coercible (1.0.0)
      descendants_tracker (~> 0.0.1)
    colorize (0.8.1)
    combine_pdf (0.2.37)
      ruby-rc4 (>= 0.1.5)
    concurrent-ruby (1.1.5)
    connection_pool (2.2.2)
    cookiejar (0.3.3)
    counter_culture (1.6.2)
      activerecord (>= 3.0.0)
      activesupport (>= 3.0.0)
      after_commit_action (~> 1.0)
    crack (0.4.3)
      safe_yaml (~> 1.0.0)
    crass (1.0.4)
    css_parser (1.7.0)
      addressable
    database_cleaner (1.7.0)
    date_validator (0.9.0)
      activemodel
      activesupport
    datetime_picker_rails (0.0.7)
      momentjs-rails (>= 2.8.1)
    debug_inspector (0.0.3)
    decent_decoration (0.1.0)
      decent_exposure (~> 3.0)
    decent_exposure (3.0.2)
      activesupport (>= 4.0)
    deep_merge (1.2.1)
    delayed_paperclip (3.0.1)
      activejob (>= 4.2)
      paperclip (>= 3.3)
    descendants_tracker (0.0.4)
      thread_safe (~> 0.3, >= 0.3.1)
    device_detector (1.0.1)
    devise (4.6.1)
      bcrypt (~> 3.0)
      orm_adapter (~> 0.1)
      railties (>= 4.1.0, < 6.0)
      responders
      warden (~> 1.2.3)
    devise_invitable (1.7.0)
      actionmailer (>= 4.0.0)
      devise (>= 4.0.0)
    diff-lcs (1.3)
    docile (1.3.1)
    domain_name (0.5.20180417)
      unf (>= 0.0.5, < 1.0.0)
    dotenv (2.7.1)
    dotenv-rails (2.7.1)
      dotenv (= 2.7.1)
      railties (>= 3.2, < 6.1)
    draper-cancancan (1.1.1)
    dry-config (1.2.7)
      deep_merge
    elastic-beanstalk (1.2.2)
      awesome_print
      dry-config (>= 1.2.0)
      eb_deployer (>= 0.6.1)
      nokogiri
      railties (>= 3.2)
      rubyzip
      table_print
      time_diff
    elasticsearch (6.2.0)
      elasticsearch-api (= 6.2.0)
      elasticsearch-transport (= 6.2.0)
    elasticsearch-api (6.2.0)
      multi_json
    elasticsearch-extensions (0.0.31)
      ansi
      elasticsearch
    elasticsearch-transport (6.2.0)
      faraday
      multi_json
    em-http-request (1.1.5)
      addressable (>= 2.3.4)
      cookiejar (!= 0.3.1)
      em-socksify (>= 0.3)
      eventmachine (>= 1.0.3)
      http_parser.rb (>= 0.6.0)
    em-socksify (0.3.2)
      eventmachine (>= 1.0.0.beta.4)
    em-synchrony (1.0.6)
      eventmachine (>= 1.0.0.beta.1)
    encryptor (3.0.0)
    enum_help (0.0.17)
      activesupport (>= 3.0.0)
    equalizer (0.0.11)
    errbase (0.1.1)
    error_page_assets (0.4)
    erubi (1.8.0)
    et-orbi (1.1.7)
      tzinfo
    eventmachine (1.2.7)
    eventmachine_httpserver (0.2.1)
    execjs (2.7.0)
    exifr (1.2.6)
    factory_bot (4.8.2)
      activesupport (>= 3.0.0)
    factory_bot_rails (4.8.2)
      factory_bot (~> 4.8.2)
      railties (>= 3.0.0)
    faker (1.9.3)
      i18n (>= 0.7)
    faraday (0.15.4)
      multipart-post (>= 1.2, < 3)
    faraday-detailed_logger (2.1.2)
      faraday (~> 0.8)
    faraday_middleware (0.13.1)
      faraday (>= 0.7.4, < 1.0)
    faraday_middleware-aws-signers-v4 (0.1.9)
      aws-sdk-resources (>= 2, < 3)
      faraday (~> 0.9)
    fast_jsonapi (1.5)
      activesupport (>= 4.2)
    fasterer (0.5.1)
      colorize (~> 0.7)
      ruby_parser (>= 3.13.0)
    ffi (1.9.25)
    flamegraph (0.9.5)
    formatador (0.2.5)
    fugit (1.1.8)
      et-orbi (~> 1.1, >= 1.1.7)
      raabro (~> 1.1)
    fuubar (2.3.2)
      rspec-core (~> 3.0)
      ruby-progressbar (~> 1.4)
    geocoder (1.5.1)
    gli (2.18.0)
    globalid (0.4.2)
      activesupport (>= 4.2.0)
    goldiloader (2.1.2)
      activerecord (>= 4.2, < 5.3)
      activesupport (>= 4.2, < 5.3)
    guard (2.15.0)
      formatador (>= 0.2.4)
      listen (>= 2.7, < 4.0)
      lumberjack (>= 1.0.12, < 2.0)
      nenv (~> 0.1)
      notiffany (~> 0.0)
      pry (>= 0.9.12)
      shellany (~> 0.0)
      thor (>= 0.18.1)
    guard-bundler (2.2.1)
      bundler (>= 1.3.0, < 3)
      guard (~> 2.2)
      guard-compat (~> 1.1)
    guard-compat (1.2.1)
    guard-rails (0.8.1)
      guard (~> 2.11)
      guard-compat (~> 1.0)
    guard-rspec (4.7.3)
      guard (~> 2.1)
      guard-compat (~> 1.1)
      rspec (>= 2.99.0, < 4.0)
    guard-rubocop (1.3.0)
      guard (~> 2.0)
      rubocop (~> 0.20)
    guard-sidekiq (0.1.0)
      guard (>= 2)
      sidekiq
    hashdiff (0.3.8)
    hashie (3.6.0)
    health_check (3.0.0)
      railties (>= 5.0)
    highline (2.0.1)
    htmlentities (4.3.4)
    http (4.1.1)
      addressable (~> 2.3)
      http-cookie (~> 1.0)
      http-form_data (~> 2.0)
      http_parser.rb (~> 0.6.0)
    http-cookie (1.0.3)
      domain_name (~> 0.5)
    http-form_data (2.1.1)
    http_parser.rb (0.6.0)
    httparty (0.16.4)
      mime-types (~> 3.0)
      multi_xml (>= 0.5.2)
    httpclient (2.8.3)
    i18n (1.6.0)
      concurrent-ruby (~> 1.0)
    i18n-tasks (0.9.28)
      activesupport (>= 4.0.2)
      ast (>= 2.1.0)
      erubi
      highline (>= 2.0.0)
      i18n
      parser (>= 2.2.3.0)
      rails-i18n
      rainbow (>= 2.2.2, < 4.0)
      terminal-table (>= 1.5.1)
    ice_nine (0.11.2)
    intercom (3.7.5)
    intercom-rails (0.4.0)
      activesupport (> 3.0)
    jaro_winkler (1.5.2)
    jbuilder (2.7.0)
      activesupport (>= 4.2.0)
      multi_json (>= 1.2)
    jira-ruby (1.6.0)
      activesupport
      multipart-post
      oauth (~> 0.5, >= 0.5.0)
    jmespath (1.4.0)
    join_dependency (0.1.4)
      activerecord (>= 4.2.0)
    jquery-rails (4.3.3)
      rails-dom-testing (>= 1, < 3)
      railties (>= 4.2.0)
      thor (>= 0.14, < 2.0)
    jquery-turbolinks (2.1.0)
      railties (>= 3.1.0)
      turbolinks
    json (2.2.0)
    json-jwt (1.10.0)
      activesupport (>= 4.2)
      aes_key_wrap
      bindata
    jsonapi-renderer (0.2.0)
    jwt (2.1.0)
    kaminari (1.1.1)
      activesupport (>= 4.1.0)
      kaminari-actionview (= 1.1.1)
      kaminari-activerecord (= 1.1.1)
      kaminari-core (= 1.1.1)
    kaminari-actionview (1.1.1)
      actionview
      kaminari-core (= 1.1.1)
    kaminari-activerecord (1.1.1)
      activerecord
      kaminari-core (= 1.1.1)
    kaminari-core (1.1.1)
    launchy (2.4.3)
      addressable (~> 2.3)
    license_finder (5.7.1)
      bundler
      rubyzip
      thor
      toml (= 0.2.0)
      with_env (= 1.1.0)
      xml-simple
    liquid (4.0.3)
    listen (3.1.5)
      rb-fsevent (~> 0.9, >= 0.9.4)
      rb-inotify (~> 0.9, >= 0.9.7)
      ruby_dep (~> 1.2)
    localeapp (3.1.2)
      gli
      i18n (>= 0.7, < 2)
      json (>= 1.7.7)
      rest-client (>= 1.8.0)
    lograge (0.10.0)
      actionpack (>= 4)
      activesupport (>= 4)
      railties (>= 4)
      request_store (~> 1.0)
    logstash-event (1.2.02)
    loofah (2.2.3)
      crass (~> 1.0.2)
      nokogiri (>= 1.5.9)
    lumberjack (1.0.13)
    mail (2.7.1)
      mini_mime (>= 0.1.1)
    marcel (0.3.3)
      mimemagic (~> 0.3.2)
    memoizable (0.4.2)
      thread_safe (~> 0.3, >= 0.3.1)
    memory_profiler (0.9.12)
    method_source (0.8.2)
    mime-types (3.2.2)
      mime-types-data (~> 3.2015)
    mime-types-data (3.2018.0812)
    mimemagic (0.3.3)
    mini_magick (4.9.3)
    mini_mime (1.0.1)
    mini_portile2 (2.4.0)
    minitest (5.11.3)
    model_attribute (3.2.0)
    momentjs-rails (2.20.1)
      railties (>= 3.1)
    msgpack (1.2.9)
    multi_json (1.13.1)
    multi_xml (0.6.0)
    multipart-post (2.0.0)
    nenv (0.3.0)
    net-http-persistent (3.0.0)
      connection_pool (~> 2.2)
    netrc (0.11.0)
    newrelic_rpm (6.2.0.354)
    nio4r (2.3.1)
    nokogiri (1.10.1)
      mini_portile2 (~> 2.4.0)
    nori (2.6.0)
    notiffany (0.1.1)
      nenv (~> 0.1)
      shellany (~> 0.0)
    numerizer (0.1.1)
    oauth (0.5.4)
    oauth2 (1.4.1)
      faraday (>= 0.8, < 0.16.0)
      jwt (>= 1.0, < 3.0)
      multi_json (~> 1.3)
      multi_xml (~> 0.5)
      rack (>= 1.2, < 3)
    omniauth (1.9.0)
      hashie (>= 3.4.6, < 3.7.0)
      rack (>= 1.6.2, < 3)
    omniauth-oauth2 (1.6.0)
      oauth2 (~> 1.1)
      omniauth (~> 1.9)
    omniauth-stripe-connect (2.10.1)
      omniauth (~> 1.3)
      omniauth-oauth2 (~> 1.4)
    orm_adapter (0.5.0)
    paper_trail (10.2.1)
      activerecord (>= 4.2, < 6.1)
      request_store (~> 1.1)
    paperclip (6.1.0)
      activemodel (>= 4.2.0)
      activesupport (>= 4.2.0)
      mime-types
      mimemagic (~> 0.3.0)
      terrapin (~> 0.6.0)
    parallel (1.14.0)
    paranoia (2.4.1)
      activerecord (>= 4.0, < 5.3)
    parser (2.6.0.0)
      ast (~> 2.4.0)
    parslet (1.8.2)
    pdf-core (0.7.0)
    pg (1.0.0)
    pg_query (1.1.0)
    pghero (2.2.0)
      activerecord
    phaxio (2.0.1)
      activesupport
      faraday (~> 0.10)
      mime-types (~> 3.0)
    poltergeist (1.18.1)
      capybara (>= 2.1, < 4)
      cliver (~> 0.3.1)
      websocket-driver (>= 0.2.0)
    powerpack (0.1.2)
    prawn (2.2.2)
      pdf-core (~> 0.7.0)
      ttfunk (~> 1.5)
    pretender (0.3.4)
      actionpack (>= 4.2)
    pry (0.10.4)
      coderay (~> 1.1.0)
      method_source (~> 0.8.1)
      slop (~> 3.4)
    pry-inline (1.0.5)
      pry (> 0.10.0, <= 0.12.2)
      unicode (~> 0.4.4)
    pry-nav (0.2.4)
      pry (>= 0.9.10, < 0.11.0)
    public_suffix (3.0.3)
    puffing-billy (2.1.0)
      addressable (~> 2.5)
      em-http-request (~> 1.1, >= 1.1.0)
      em-synchrony
      eventmachine (~> 1.2)
      eventmachine_httpserver
      http_parser.rb (~> 0.6.0)
      multi_json
    puma (3.11.3)
    qbo_api (1.8.4)
      faraday
      faraday-detailed_logger
      faraday_middleware
      nokogiri
    qbwc (1.1.0)
      actionpack (>= 5.0.1)
      qbxml (>= 0.3.0)
      wash_out (>= 0.12.0)
    qbxml (0.4.0)
      activesupport (>= 4.1.0)
      builder (~> 3.0)
      nokogiri (~> 1.5)
    raabro (1.1.6)
    rack (2.0.6)
    rack-mini-profiler (1.0.2)
      rack (>= 1.2.0)
    rack-oauth2 (1.9.3)
      activesupport
      attr_required
      httpclient
      json-jwt (>= 1.9.0)
      rack
    rack-protection (2.0.5)
      rack
    rack-rewrite (1.5.1)
    rack-test (1.1.0)
      rack (>= 1.0, < 3)
    rack-timeout (0.5.1)
    rack-tracker (1.8.0)
      activesupport (>= 3.0)
      rack (>= 1.4)
      tilt (>= 1.4)
    railroady (1.5.3)
    rails (5.2.2.1)
      actioncable (= 5.2.2.1)
      actionmailer (= 5.2.2.1)
      actionpack (= 5.2.2.1)
      actionview (= 5.2.2.1)
      activejob (= 5.2.2.1)
      activemodel (= 5.2.2.1)
      activerecord (= 5.2.2.1)
      activestorage (= 5.2.2.1)
      activesupport (= 5.2.2.1)
      bundler (>= 1.3.0)
      railties (= 5.2.2.1)
      sprockets-rails (>= 2.0.0)
    rails-dom-testing (2.0.3)
      activesupport (>= 4.2.0)
      nokogiri (>= 1.6)
    rails-erd (1.5.2)
      activerecord (>= 3.2)
      activesupport (>= 3.2)
      choice (~> 0.2.0)
      ruby-graphviz (~> 1.2)
    rails-html-sanitizer (1.0.4)
      loofah (~> 2.2, >= 2.2.2)
    rails-i18n (5.1.3)
      i18n (>= 0.7, < 2)
      railties (>= 5.0, < 6)
    railties (5.2.2.1)
      actionpack (= 5.2.2.1)
      activesupport (= 5.2.2.1)
      method_source
      rake (>= 0.8.7)
      thor (>= 0.19.0, < 2.0)
    rainbow (3.0.0)
    rake (12.3.2)
    rb-fsevent (0.10.3)
    rb-inotify (0.10.0)
      ffi (~> 1.0)
    redcarpet (3.4.0)
    redis (3.3.5)
    redis-actionpack (5.0.2)
      actionpack (>= 4.0, < 6)
      redis-rack (>= 1, < 3)
      redis-store (>= 1.1.0, < 2)
    redis-activesupport (5.0.4)
      activesupport (>= 3, < 6)
      redis-store (>= 1.3, < 2)
    redis-rack (2.0.4)
      rack (>= 1.5, < 3)
      redis-store (>= 1.2, < 2)
    redis-rails (5.0.2)
      redis-actionpack (>= 5.0, < 6)
      redis-activesupport (>= 5.0, < 6)
      redis-store (>= 1.2, < 2)
    redis-store (1.4.1)
      redis (>= 2.2, < 5)
    referer-parser (0.3.0)
    request_store (1.4.1)
      rack (>= 1.4)
    responders (2.4.1)
      actionpack (>= 4.2.0, < 6.0)
      railties (>= 4.2.0, < 6.0)
    rest-client (2.0.2)
      http-cookie (>= 1.0.2, < 2.0)
      mime-types (>= 1.16, < 4.0)
      netrc (~> 0.8)
    roadie (3.4.0)
      css_parser (~> 1.4)
      nokogiri (~> 1.5)
    roo (2.8.2)
      nokogiri (~> 1)
      rubyzip (>= 1.2.1, < 2.0.0)
    roo-xls (1.2.0)
      nokogiri
      roo (>= 2.0.0, < 3)
      spreadsheet (> 0.9.0)
    rspec (3.8.0)
      rspec-core (~> 3.8.0)
      rspec-expectations (~> 3.8.0)
      rspec-mocks (~> 3.8.0)
    rspec-core (3.8.0)
      rspec-support (~> 3.8.0)
    rspec-expectations (3.8.2)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.8.0)
    rspec-mocks (3.8.0)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.8.0)
    rspec-rails (3.8.2)
      actionpack (>= 3.0)
      activesupport (>= 3.0)
      railties (>= 3.0)
      rspec-core (~> 3.8.0)
      rspec-expectations (~> 3.8.0)
      rspec-mocks (~> 3.8.0)
      rspec-support (~> 3.8.0)
    rspec-retry (0.6.1)
      rspec-core (> 3.3)
    rspec-sidekiq (3.0.3)
      rspec-core (~> 3.0, >= 3.0.0)
      sidekiq (>= 2.4.0)
    rspec-support (3.8.0)
    rubocop (0.57.2)
      jaro_winkler (~> 1.5.1)
      parallel (~> 1.10)
      parser (>= 2.5)
      powerpack (~> 0.1)
      rainbow (>= 2.2.2, < 4.0)
      ruby-progressbar (~> 1.7)
      unicode-display_width (~> 1.0, >= 1.0.1)
    ruby-graphviz (1.2.4)
    ruby-ole (1.2.12.2)
    ruby-progressbar (1.10.0)
    ruby-rc4 (0.1.5)
    ruby_dep (1.5.0)
    ruby_parser (3.13.0)
      sexp_processor (~> 4.9)
    rubyzip (1.2.2)
    rufus-scheduler (3.4.2)
      et-orbi (~> 1.0)
    safe_yaml (1.0.5)
    safely_block (0.2.1)
      errbase
    sass (3.7.2)
      sass-listen (~> 4.0.0)
    sass-listen (4.0.0)
      rb-fsevent (~> 0.9, >= 0.9.4)
      rb-inotify (~> 0.9, >= 0.9.7)
    sass-rails (5.0.7)
      railties (>= 4.0.0, < 6)
      sass (~> 3.1)
      sprockets (>= 2.8, < 4.0)
      sprockets-rails (>= 2.0, < 4.0)
      tilt (>= 1.1, < 3)
    seed_dump (3.3.1)
      activerecord (>= 4)
      activesupport (>= 4)
    select2-rails (4.0.3)
      thor (~> 0.14)
    selectize-rails (0.12.6)
    selenium-webdriver (3.141.0)
      childprocess (~> 0.5)
      rubyzip (~> 1.2, >= 1.2.2)
    sendgrid-rails (3.1.0)
      actionmailer (>= 3.0.0)
      activesupport (>= 2.1.0)
    sexp_processor (4.12.0)
    shellany (0.0.1)
    shoulda (3.6.0)
      shoulda-context (~> 1.0, >= 1.0.1)
      shoulda-matchers (~> 3.0)
    shoulda-context (1.2.2)
    shoulda-matchers (3.1.3)
      activesupport (>= 4.0.0)
    sidekiq (5.2.5)
      connection_pool (~> 2.2, >= 2.2.2)
      rack (>= 1.5.0)
      rack-protection (>= 1.5.0)
      redis (>= 3.3.5, < 5)
    sidekiq-cron (1.1.0)
      fugit (~> 1.1)
      sidekiq (>= 4.2.1)
    sidekiq-pro (4.0.5)
      concurrent-ruby (>= 1.0.5)
      sidekiq (>= 5.2.1)
    sidekiq-status (1.1.1)
      chronic_duration
      sidekiq (>= 3.0)
    sidekiq-unique-jobs (6.0.12)
      concurrent-ruby (~> 1.0, >= 1.0.5)
      sidekiq (>= 4.0, < 7.0)
      thor (~> 0)
    simple-navigation (3.14.0)
      activesupport (>= 2.3.2)
    simple-navigation-bootstrap (1.0.2)
      railties (>= 3.1)
      simple-navigation (>= 3.7.0, < 4.0.0)
    simple_form (4.1.0)
      actionpack (>= 5.0)
      activemodel (>= 5.0)
    simplecov (0.16.1)
      docile (~> 1.1)
      json (>= 1.8, < 3)
      simplecov-html (~> 0.10.0)
    simplecov-html (0.10.2)
    slack-ruby-client (0.14.1)
      activesupport
      faraday (>= 0.9)
      faraday_middleware
      gli
      hashie
      websocket-driver
    slim (4.0.1)
      temple (>= 0.7.6, < 0.9)
      tilt (>= 2.0.6, < 2.1)
    slim-rails (3.2.0)
      actionpack (>= 3.1)
      railties (>= 3.1)
      slim (>= 3.0, < 5.0)
    slop (3.6.0)
    spreadsheet (1.2.3)
      ruby-ole (>= 1.0)
    spring (2.0.2)
      activesupport (>= 4.2)
    spring-commands-rspec (1.0.4)
      spring (>= 0.9.1)
    spring-watcher-listen (2.0.1)
      listen (>= 2.7, < 4.0)
      spring (>= 1.2, < 3.0)
    sprockets (3.7.2)
      concurrent-ruby (~> 1.0)
      rack (> 1, < 3)
    sprockets-rails (3.2.1)
      actionpack (>= 4.0)
      activesupport (>= 4.0)
      sprockets (>= 3.0.0)
    stackprof (0.2.12)
    stripe (4.10.0)
      faraday (~> 0.13)
      net-http-persistent (~> 3.0)
    table_print (1.5.6)
    taxjar-ruby (2.4.1)
      addressable (~> 2.3)
      http (>= 1.0, < 5.0)
      memoizable (~> 0.4.0)
      model_attribute (~> 3.2)
    temple (0.8.1)
    terminal-table (1.8.0)
      unicode-display_width (~> 1.1, >= 1.1.1)
    terrapin (0.6.0)
      climate_control (>= 0.0.3, < 1.0)
    test-prof (0.7.5)
    thinreports (0.10.3)
      prawn (~> 2.2.0)
    thor (0.20.3)
    thread_safe (0.3.6)
    tilt (2.0.9)
    time_diff (0.3.0)
      activesupport
      i18n
    timecop (0.9.1)
    timezone (1.3.3)
    toml (0.2.0)
      parslet (~> 1.8.0)
    traceroute (0.8.0)
      rails (>= 3.0.0)
    ttfunk (1.5.1)
    turbolinks (5.1.0)
      turbolinks-source (~> 5.1)
    turbolinks-source (5.1.0)
    twilio-ruby (5.21.2)
      faraday (~> 0.9)
      jwt (>= 1.5, <= 2.5)
      nokogiri (>= 1.6, < 2.0)
    tzinfo (1.2.5)
      thread_safe (~> 0.1)
    uglifier (4.1.8)
      execjs (>= 0.3.0, < 3)
    unf (0.1.4)
      unf_ext
    unf_ext (0.0.7.5)
    unicode (0.4.4.4)
    unicode-display_width (1.5.0)
    uniform_notifier (1.12.1)
    user_agent_parser (2.5.1)
    validates_zipcode (0.2.0)
      activemodel (>= 3.2.0)
    vcr (4.0.0)
    virtus (1.0.5)
      axiom-types (~> 0.1)
      coercible (~> 1.0)
      descendants_tracker (~> 0.0, >= 0.0.3)
      equalizer (~> 0.0, >= 0.0.9)
    warden (1.2.8)
      rack (>= 2.0.6)
    wash_out (0.12.0)
      nori (>= 2.0.0)
    web-console (3.7.0)
      actionview (>= 5.0)
      activemodel (>= 5.0)
      bindex (>= 0.4.0)
      railties (>= 5.0)
    webmock (3.5.1)
      addressable (>= 2.3.6)
      crack (>= 0.3.2)
      hashdiff
    websocket-driver (0.7.0)
      websocket-extensions (>= 0.1.0)
    websocket-extensions (0.1.3)
    wicked (1.3.3)
      railties (>= 3.0.7)
    with_env (1.1.0)
    xml-simple (1.1.5)
    xpath (3.2.0)
      nokogiri (~> 1.8)

PLATFORMS
  ruby

DEPENDENCIES
  aasm
  active_model_serializers
  acts_as_tenant!
  administrate
  ahoy_matey (~> 2)
  american_date
  annotate
  attr_encrypted
  attribute_normalizer
  aws-sdk (~> 2)
  axlsx!
  axlsx_rails
  baby_squeel
  better_errors
  binding_of_caller
  blazer
  bootsnap
  bootstrap-wysihtml5-rails!
  bourbon
  brakeman
  bullet!
  bundler-audit
  byebug
  cancancan (~> 1.15)
  capybara (~> 2.18.0)
  capybara-screenshot
  carmen
  chewy (~> 0.9.0)
  closeio
  cocoon!
  combine_pdf (~> 0.2.27)
  counter_culture (~> 1.6.0)
  database_cleaner
  date_validator
  decent_decoration
  decent_exposure
  delayed_paperclip
  devise
  devise_invitable (= 1.7.0)
  dossier!
  dotenv-rails
  draftsman!
  draper!
  draper-cancancan
  eb_deployer!
  elastic-beanstalk
  elasticsearch-extensions
  enum_help
  error_page_assets
  exifr (~> 1.2.6)
  factory_bot
  factory_bot_rails (~> 4.8.2)
  faker
  faraday_middleware-aws-signers-v4
  fast_jsonapi
  fasterer
  flamegraph
  fuubar
  geocoder
  goldiloader (~> 2.1.2)
  guard
  guard-bundler
  guard-rails
  guard-rspec
  guard-rubocop
  guard-sidekiq
  health_check
  http
  httparty
  i18n-tasks
  intercom
  intercom-rails
  intercom_event!
  jbuilder
  jira-ruby
  jquery-rails
  jquery-turbolinks
  jwt
  kaminari
  license_finder
  liquid
  localeapp
  lograge
  logstash-event
  memory_profiler
  mini_magick
  net-http-persistent
  newrelic_rpm
  omniauth-stripe-connect
  paper_trail
  paperclip
  paranoia
  particlerb!
  pg
  pg_query
  pghero
  phaxio
  poltergeist
  polyamorous (~> 1.3.4)!
  pretender
  pry (~> 0.10.4)
  pry-inline
  pry-nav
  puffing-billy
  puma
  qbo_api
  qbwc
  rack-mini-profiler
  rack-oauth2
  rack-rewrite
  rack-timeout
  rack-tracker
  railroady
  rails (~> 5.2.2)
  rails-erd
  redcarpet
  redis-rails (~> 5.0)
  responders
  roadie
  roo
  roo-xls
  rspec-rails
  rspec-retry
  rspec-sidekiq
  rubocop (~> 0.57.2)
  rufus-scheduler (= 3.4.2)
  sass-rails (~> 5.0)
  seed_dump
  select2-rails
  selenium-webdriver
  sendgrid-rails
  shoulda
  shoulda-matchers
  sidekiq
  sidekiq-cron
  sidekiq-pro!
  sidekiq-status
  sidekiq-unique-jobs
  simple-navigation (~> 3.14.0)
  simple-navigation-bootstrap
  simple_form
  simplecov
  slack-ruby-client
  slim-rails
  spring
  spring-commands-rspec
  spring-watcher-listen
  stackprof
  stripe
  taxjar-ruby
  test-prof
  thinreports
  timecop
  timezone
  traceroute
  turbolinks (~> 5.1.0)
  twilio-ruby
  uglifier (>= 1.3.0)
  validates_zipcode
  vcr
  virtus
  wash_out (>= 0.11.0)
  web-console (>= 3.3.0)
  webmock
  wicked

BUNDLED WITH
   1.17.3
@burke
Copy link
Member

burke commented Mar 21, 2019

1.2.0 is pretty old. Is that the version this is happening on? Can you try upgrading to the latest release? Or, which version are you actually running?

@zeeshangulzar
Copy link
Author

I am running bootsnap (1.4.1) as mentioned in Gemfile.lock above. I upgraded from 1.2.0 to 1.4.1

@zeeshangulzar
Copy link
Author

@burke found the issue. Bootsnap is overriding other load errors. Without bootsnap i am getting following error.
LoadError - cannot load such file -- aws-sdk-s3 (You may need to install the aws-sdk-s3 gem):
With bootsnap this error is displayed as
Bootsnap::LoadPathCache::FallbackScan

@ndbroadbent
Copy link

I'm still seeing this Bootsnap::LoadPathCache::FallbackScan error with bootsnap version 1.4.5.
If I disable Bootsnap, Rails shows the correct error (cannot load such file -- fastimage). It would be great if Bootsnap could show which file/gem couldn't be loaded.

@atstockland
Copy link

I'm running Bootsnap 1.4.5, rails 6.0.2.rc1. Everything works great under ruby2.7.0 preview1, but errors with Bootsnap::LoadPathCache::FallbackScan under ruby2.7.0 preview2.

@aarona
Copy link

aarona commented May 14, 2020

I just updated my Ubuntu install from 19.10 to 20.04 LTS and got this error on rails s booting up. Not sure why this was the case but I fixed it by deleting my rvm gemset and recreating it and running bundle. Just an FYI to anyone who updated Ubuntu recently.

@tinbka
Copy link

tinbka commented May 24, 2020

Having this raised randomly inside RSpec tests with OS X Catalina / Ruby 2.7.1 / Rails 6.0.3.1 / Bootsnap 1.4.5
They worked perfectly fine under Ruby 2.6.5 / Rails 6.0.2 / same Bootsnap 1.4.5.
Updating Bootsnap to 1.4.6 doesn't really help.

@Husnainakmal5
Copy link

i am still getting

Caused by:
Bootsnap::LoadPathCache::FallbackScan:

when i run rails webpacker:install with gem react-rails

@junjizhi
Copy link

I ran into similar issue today. The actual cause was printed as the last error message at the bottom:

cannot load such file -- omniauth-google-oauth2 (LoadError)

@tinbka
Copy link

tinbka commented Jul 15, 2020

Anyone who gets this error along with too many open files, just increase your ulimit with, say,

ulimit -n 8192

This probably makes sense to add to your .bashrc or another file that is sourced every time you run your terminal.

@casperisfine
Copy link
Contributor

This was fixed in #314

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants