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

Remove load bundler at bin file #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mataki
Copy link

@mataki mataki commented Oct 1, 2020

The following error occurred and has been fixed.

$ bundle exec gush list
bundler: failed to load command: gush (/Users/mat_aki/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/bin/gush)
NameError: uninitialized constant ActiveStorageValidations::ActiveModel
Did you mean?  ActiveJob
  /Users/mat_aki/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/active_storage_validations-0.7.1/lib/active_storage_validations/attached_validator.rb:4:in `<module:ActiveStorageValidations>'
  /Users/mat_aki/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/active_storage_validations-0.7.1/lib/active_storage_validations/attached_validator.rb:3:in `<top (required)>'
  /Users/mat_aki/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/active_storage_validations-0.7.1/lib/active_storage_validations.rb:5:in `require'
  /Users/mat_aki/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/active_storage_validations-0.7.1/lib/active_storage_validations.rb:5:in `<top (required)>'
  /Users/mat_aki/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:74:in `require'
  /Users/mat_aki/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:74:in `block (2 levels) in require'
  /Users/mat_aki/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:69:in `each'
  /Users/mat_aki/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:69:in `block in require'
  /Users/mat_aki/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in `each'
  /Users/mat_aki/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in `require'
  /Users/mat_aki/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler.rb:174:in `require'
  /Users/mat_aki/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/gush-2.0.1/bin/gush:4:in `<top (required)>'
  /Users/mat_aki/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/bin/gush:23:in `load'
  /Users/mat_aki/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/bin/gush:23:in `<top (required)>'

The error occurred when using a gem that loads ActiveRecord or ActiveModel together.

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

Successfully merging this pull request may close these issues.

1 participant