When trying to emerge dev-ruby/gherkin without jeweler and rspec installed it complains and won't emerge. Reproducible: Always Steps to Reproduce: 1. Do not have dev-ruby/jeweler and dev-ruby/rspec installed 2. emerge =dev-ruby/gherkin-1.0.30 3. FAIL Actual Results: >>> Compiling source in /var/tmp/portage/dev-ruby/gherkin-1.0.30/work ... * Running compile phase for ruby18 ... (in /var/tmp/portage/dev-ruby/gherkin-1.0.30/work/ruby18/gherkin-1.0.30) Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler WARNING: Rake::ExtensionTask not installed. Skipping C compilation. rake aborted! no such file to load -- spec/rake/spectask /var/tmp/portage/dev-ruby/gherkin-1.0.30/work/ruby18/gherkin-1.0.30/Rakefile:54:in `load' (See full trace by running task with --trace) * Running compile phase for all ... (in /var/tmp/portage/dev-ruby/gherkin-1.0.30/work/all/gherkin-1.0.30) Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler WARNING: Rake::ExtensionTask not installed. Skipping C compilation. rake aborted! no such file to load -- spec/rake/spectask /var/tmp/portage/dev-ruby/gherkin-1.0.30/work/all/gherkin-1.0.30/Rakefile:54:in `load' (See full trace by running task with --trace) * ERROR: dev-ruby/gherkin-1.0.30 failed: * failed to (re)build documentation * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2728: Called ruby-ng_src_compile * environment, line 2465: Called _ruby_invoke_environment 'all' 'all_ruby_compile' * environment, line 315: Called all_ruby_compile * environment, line 367: Called all_fakegem_compile * environment, line 336: Called die * The specific snippet of code: * rake ${RUBY_FAKEGEM_TASK_DOC} || die "failed to (re)build documentation"; Expected Results: jeweler and rspec should have been preinstalled by portage as dependencies
It looks like rspec is unconditionally loaded as part of the build system, so we do need this at build time. I also added a missing dependency on rake-compiler. Jeweler is optional, so I have not added it as a dependency. Should be fixed now in gherkin 1.0.30. Thanks for reporting.