rubygems / bundler

Manage your Ruby application's gem dependencies

Home Page:https://bundler.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Something going wrong in my gem, with bundle configuration

Alien-97 opened this issue · comments

Hello, i executed bundle for create a gem with * bundle gem gemname *. However, once done that, when in run rake command for to verify that everything is going well, i get this error:

/usr/bin/ruby2.5 /usr/bin/rspec --pattern spec/**{,/*/**}/*_spec.rb
Traceback (most recent call last):
35: from /usr/bin/rspec:4:in <main>' 34: from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:45:in invoke'
33: from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:71:in run' 32: from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:86:in run'
31: from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:99:in setup' 30: from /usr/lib/ruby/vendor_ruby/rspec/core/configuration_options.rb:21:in configure'
29: from /usr/lib/ruby/vendor_ruby/rspec/core/configuration_options.rb:111:in process_options_into' 28: from /usr/lib/ruby/vendor_ruby/rspec/core/configuration_options.rb:111:in each'
27: from /usr/lib/ruby/vendor_ruby/rspec/core/configuration_options.rb:112:in block in process_options_into' 26: from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1455:in requires='
25: from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1455:in each' 24: from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:1455:in block in requires='
23: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require' 22: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require'
21: from /home/alien/Escritorio/INGENIERÍA_INFORMÁTICA/CUARTO/TERCERO/LPP/Prácticas/Prct6/tdd-Alien-97/huella_nutricional/spec/spec_helper.rb:1:in <top (required)>' 20: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require'
19: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require' 18: from /usr/lib/ruby/vendor_ruby/bundler/setup.rb:10:in <top (required)>'
17: from /usr/lib/ruby/vendor_ruby/bundler.rb:107:in setup' 16: from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:20:in setup'
15: from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:108:in block in definition_method' 14: from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:226:in requested_specs'
13: from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:237:in specs_for' 12: from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:170:in specs'
11: from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:247:in resolve' 10: from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:737:in converge_locked_specs'
9: from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:737:in each' 8: from /usr/lib/ruby/vendor_ruby/bundler/definition.rb:751:in block in converge_locked_specs'
7: from /usr/lib/ruby/vendor_ruby/bundler/source/path.rb:108:in specs' 6: from /usr/lib/ruby/vendor_ruby/bundler/source/path.rb:100:in local_specs'
5: from /usr/lib/ruby/vendor_ruby/bundler/source/path.rb:165:in load_spec_files' 4: from /usr/lib/ruby/vendor_ruby/bundler/source/path.rb:165:in each'
3: from /usr/lib/ruby/vendor_ruby/bundler/source/path.rb:171:in block in load_spec_files' 2: from /usr/lib/ruby/vendor_ruby/bundler/source/path.rb:157:in validate_spec'
1: from /usr/lib/ruby/vendor_ruby/bundler/rubygems_integration.rb:60:in validate' /usr/lib/ruby/vendor_ruby/bundler/rubygems_integration.rb:65:in rescue in validate': The gemspec at huella_nutricional/huella_nutricional.gemspec is not valid. Please fix this gemspec. (Gem::InvalidSpecificationException)
The validation error was 'metadata['homepage_uri'] has invalid link: "TODO: Put your gem's website or public repo URL here."'

Any help would be appreciated, here you have link to repository where i have bundle configuration code : https://github.com/Alien-97/AlgoRaroPasa

Thanks