Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 484376

Summary: dev-ruby/rails-3.2.14 with dev-ruby/rdoc-4.0.1-r1 - Could not find gem 'rdoc (~> 3.4) ruby', which is required by gem 'rails (>= 0) ruby', in any of the sources.
Product: Gentoo Linux Reporter: Michael Orlitzky <mjo>
Component: [OLD] DevelopmentAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 484464    

Description Michael Orlitzky gentoo-dev 2013-09-09 19:22:14 UTC
After fixing bug #483638, passenger will bomb with the following:

  Could not find gem 'rdoc (~> 3.4) ruby', which is required by gem 'rails (>= 0) ruby', in any of the sources.

So it looks like rails-3.2.x requires rdoc 3.x.

For a temporary fix:

  # emerge -C =dev-lang/ruby-2.0.0_p247-r1
  # emerge -1 =dev-ruby/rdoc-3.12.2
Comment 1 Michael Orlitzky gentoo-dev 2013-09-10 15:15:34 UTC
I've been trying to decouple my (custom) rails apps from bundler. This can prevent bug #483638, but I still get an error from passenger here about the incompatible rdoc:

  Could not find 'rdoc' (~> 3.4) - did find: [rdoc-4.0.1] (Gem::LoadError)
Comment 2 Hans de Graaff gentoo-dev Security 2013-10-19 07:26:47 UTC
As far as I can tell rails 3.2.14 and 3.2.15 should already work with rdoc 4.x since we already rewrite the gemspec for this. If this still happens with rails 3.2.15 could you provide a more verbose error log for this? Perhaps some other package is actually triggering this.
Comment 3 Michael Orlitzky gentoo-dev 2013-10-19 19:12:17 UTC
(In reply to Hans de Graaff from comment #2)
> As far as I can tell rails 3.2.14 and 3.2.15 should already work with rdoc
> 4.x...

Yep, fixed in 3.2.15, thanks.