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

Blocking Rails upgrade to 6.1.3.1 #19

Open
melcher opened this issue Apr 6, 2021 · 1 comment
Open

Blocking Rails upgrade to 6.1.3.1 #19

melcher opened this issue Apr 6, 2021 · 1 comment

Comments

@melcher
Copy link
Member

melcher commented Apr 6, 2021

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.
@melcher
Copy link
Member Author

melcher commented Apr 20, 2021

Fixed in #20

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

1 participant