We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Module attributes should be defined on the class, not in the singleton.
An error occurred while loading rails_helper. Failure/Error: require File.expand_path('../config/environment', __dir__) TypeError: module attributes should be defined directly on class, not singleton # /usr/local/bundle/gems/activesupport-6.1.3.1/lib/active_support/core_ext/module/attribute_accessors.rb:52:in `mattr_reader' # /usr/local/bundle/gems/activesupport-6.1.3.1/lib/active_support/core_ext/module/attribute_accessors.rb:202:in `mattr_accessor' # /usr/local/bundle/bundler/gems/simple_redlock-661c1448f881/lib/simple_redlock.rb:7:in `singleton class' # /usr/local/bundle/bundler/gems/simple_redlock-661c1448f881/lib/simple_redlock.rb:6:in `<module:SimpleRedlock>' # /usr/local/bundle/bundler/gems/simple_redlock-661c1448f881/lib/simple_redlock.rb:5:in `<top (required)>' # /usr/local/bundle/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require' # /usr/local/bundle/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi' # /usr/local/bundle/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register' # /usr/local/bundle/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi' # /usr/local/bundle/gems/bootsnap-1.7.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require' # ./config/application.rb:22:in `<top (required)>' # ./config/environment.rb:2:in `require' # ./config/environment.rb:2:in `<top (required)>' # ./spec/rails_helper.rb:18:in `require' # ./spec/rails_helper.rb:18:in `<top (required)>' Run options: include {:focus=>true} All examples were filtered out; ignoring {:focus=>true} No examples found.
The text was updated successfully, but these errors were encountered:
Fixed in #20
Sorry, something went wrong.
No branches or pull requests
Module attributes should be defined on the class, not in the singleton.
The text was updated successfully, but these errors were encountered: