Created
December 20, 2021 09:23
-
-
Save willnet/f3db323451042b724dd0501f458c378a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Your Gemfile lists the gem railties (>= 0) more than once. | |
You should probably keep only one of them. | |
Remove any duplicate entries and specify the gem only once. | |
While it's not a problem now, it could cause errors if you change the version of one of them later. | |
--- ERROR REPORT TEMPLATE ------------------------------------------------------- | |
``` | |
NoMethodError: undefined method `metadata' for nil:NilClass | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/bundler/cli/common.rb:22:in `block in output_fund_metadata_summary' | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/bundler/cli/common.rb:22:in `count' | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/bundler/cli/common.rb:22:in `output_fund_metadata_summary' | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/bundler/cli/install.rb:85:in `run' | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/bundler/cli.rb:253:in `block in install' | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/bundler/settings.rb:131:in `temporary' | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/bundler/cli.rb:252:in `install' | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run' | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command' | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch' | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/bundler/cli.rb:31:in `dispatch' | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start' | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/bundler/cli.rb:25:in `start' | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/bundler-2.2.33/exe/bundle:49:in `block in <top (required)>' | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/site_ruby/3.0.0/bundler/friendly_errors.rb:103:in `with_friendly_errors' | |
/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/bundler-2.2.33/exe/bundle:37:in `<top (required)>' | |
/Users/willnet/.rbenv/versions/3.0.3/bin/bundle:23:in `load' | |
/Users/willnet/.rbenv/versions/3.0.3/bin/bundle:23:in `<main>' | |
``` | |
## Environment | |
``` | |
Bundler 2.2.33 | |
Platforms ruby, x86_64-darwin-21 | |
Ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc18472ec107b14234933b017a33c14d) [x86_64-darwin21] | |
Full Path /Users/willnet/.rbenv/versions/3.0.3/bin/ruby | |
Config Dir /Users/willnet/.rbenv/versions/3.0.3/etc | |
RubyGems 3.2.33 | |
Gem Home /Users/willnet/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0 | |
Gem Path /Users/willnet/.gem/ruby/3.0.0:/Users/willnet/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0 | |
User Home /Users/willnet | |
User Path /Users/willnet/.gem/ruby/3.0.0 | |
Bin Dir /Users/willnet/.rbenv/versions/3.0.3/bin | |
OpenSSL | |
Compiled OpenSSL 1.1.1l 24 Aug 2021 | |
Loaded OpenSSL 1.1.1l 24 Aug 2021 | |
Cert File /Users/willnet/.rbenv/versions/3.0.3/openssl/ssl/cert.pem | |
Cert Dir /Users/willnet/.rbenv/versions/3.0.3/openssl/ssl/certs | |
Tools | |
Git 2.30.0 | |
RVM not installed | |
rbenv rbenv 1.1.2 | |
chruby not installed | |
``` | |
## Bundler Build Metadata | |
``` | |
Built At 2021-12-07 | |
Git SHA 9b5e2a350b | |
Released Version true | |
``` | |
## Bundler settings | |
``` | |
gem.changelog | |
Set for the current user (/Users/willnet/.bundle/config): true | |
gem.ci | |
Set for the current user (/Users/willnet/.bundle/config): "github" | |
gem.coc | |
Set for the current user (/Users/willnet/.bundle/config): true | |
gem.mit | |
Set for the current user (/Users/willnet/.bundle/config): true | |
gem.rubocop | |
Set for the current user (/Users/willnet/.bundle/config): "true" | |
gem.test | |
Set for the current user (/Users/willnet/.bundle/config): "rspec" | |
``` | |
## Gemfile | |
### Gemfile | |
```ruby | |
source 'https://rubygems.org' | |
platforms :jruby do | |
gem 'railties' | |
end | |
gem 'railties' | |
``` | |
### Gemfile.lock | |
``` | |
GEM | |
remote: https://rubygems.org/ | |
specs: | |
PLATFORMS | |
x86_64-darwin-21 | |
DEPENDENCIES | |
railties | |
BUNDLED WITH | |
2.2.33 | |
``` | |
--- TEMPLATE END ---------------------------------------------------------------- | |
Unfortunately, an unexpected error occurred, and Bundler cannot continue. | |
First, try this link to see if there are any existing issue reports for this error: | |
https://github.com/rubygems/rubygems/search?q=undefined+method+%60metadata%27+for+nil+NilClass&type=Issues | |
If there aren't any reports for this error yet, please fill in the new issue form located at https://github.com/rubygems/rubygems/issues/new?labels=Bundler&template=bundler-related-issue.md, and copy and paste the report template above in there. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
platforms :jruby do | |
gem 'railties' | |
end | |
group :test do | |
gem 'railties' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment