rails-3.0.3 applications can't be started with rails server. bundler complains that gems are missing. builder-3.0 is installed along with rails 3.0.3, while bundler requires builder-2.1.2. Reproducible: Always Steps to Reproduce: 1. emerge rails 2. create rails application with rails new <app> 3. start the app cd <app> && rails server Actual Results: /usr/lib64/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/resolver.rb:129:in `resolve': Could not find gem 'builder (~> 2.1.2)', required by 'rails (= 3.0.3)', in any of the sources (Bundler::VersionConflict) from /usr/lib64/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/resolver.rb:127:in `catch' from /usr/lib64/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/resolver.rb:127:in `resolve' from /usr/lib64/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/definition.rb:151:in `resolve' from /usr/lib64/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/definition.rb:90:in `specs' from /usr/lib64/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/definition.rb:135:in `specs_for' from /usr/lib64/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/definition.rb:124:in `requested_specs' from /usr/lib64/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/environment.rb:23:in `requested_specs' from /usr/lib64/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:11:in `setup' from /usr/lib64/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler.rb:100:in `setup' from /home/serge.ratke/projekte/web/seite/config/boot.rb:8 from script/rails:5:in `require' from script/rails:5
Created attachment 259389 [details] emerge --info
The problem is that the rails gemspec requires something like =builder-2.1.* and bundler tries to make sure of that. A quick fix is to downgrade to builder 2.1.2. This should either be fixed by loosening the rails dependencies or by slotting builder.
Rails HEAD switched to require builder 3.0.0 without any further code changes, so I'm making the assumption that both versions work equally well. Should be fixed with activemodel 3.0.3-r1 and actionpack 3.0.3-r1.