On Mon, 2011-04-18 at 15:57 -0700, David Lutterkort wrote:
> On Mon, 2011-04-18 at 15:18 -0700, Sang-Min Park wrote:
> > Hi all,
> > 
> > Today I tried to run the available cucumber tests.
> > While the test for SBC passes, the test for EC2 and Mock just spins and eat
> > up memory.
> > Specifically, it hangs after this line:
> 
> Strange - for me, 'API_DRIVER=ec2 rake cucumber' passes without a hitch;
> though 'API_DRIVER=ec2 rake features' blows up with
> 
>         /usr/bin/ruby -I "/usr/lib/ruby/gems/1.8/gems/cucumber-0.9.0/lib:lib" 
> "/usr/lib/ruby/gems/1.8/gems/cucumber-0.9.0/bin/cucumber" ../tests/ec2 
> --format html --out ../tests/tmp/cucumber_ec2.html
>         Name Collision: Method 'to_xs' is already defined in String
>         Error creating formatter: html (RuntimeError)
>         
> /homes/lutter/.gem/ruby/1.8/gems/builder-2.1.2/lib/builder/xchar.rb:14:in 
> `check_for_name_collision'
>         /homes/lutter/.gem/ruby/1.8/gems/builder-2.1.2/lib/builder/xchar.rb:21
>         /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
> `gem_original_require'
>         /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
>         ....

This seems to happen because aws requires activesupport, which in turn
has a bundled copy of builder, that also defines Strong.to_xs ...

David



Reply via email to