sporkrb/spork — Issue #182: undefined method `inject' for Gem::Specification:Class (NoMethodError)
Author: Javix
Created: 2012-03-02 10:05:23+00:00
State: open

After running
```
C:\Documents and Settings\MyUserName\Mes documents\path to mt ror app\>spork cucumber --bootstrapspork cucumber --bootstrap
```
I got the above exception:
```
undefined method `inject' for Gem::Specification:Class (NoMethodError)
C:/Ruby192/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc2-x86-mingw32/lib/spork/gem_helpers.rb:5:in `latest_specs'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc2-x86-mingw32/lib/spork/gem_helpers.rb:16:in `find_files_using_latest_spec'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc2-x86-mingw32/lib/spork.rb:101:in `detect_and_require'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc2-x86-mingw32/lib/spork/test_framework.rb:167:in `'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc2-x86-mingw32/lib/spork/runner.rb:49:in `find_test_framework'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc2-x86-mingw32/lib/spork/runner.rb:57:in `run'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc2-x86-mingw32/lib/spork/runner.rb:10:in `run'
C:/Ruby192/lib/ruby/gems/1.9.1/gems/spork-1.0.0rc2-x86-mingw32/bin/spork:10:in `'
C:/Ruby192/bin/spork:19:in `load'
C:/Ruby192/bin/spork:19:in `

'
```

It happened on Windows XP SP3, Ruby 1.9.2, Spork (1.0.0rc2 x86-mingw32)