sporkrb/spork — Issue #157: undefined method `split' for nil:NilClass (NoMethodError)
Author: brandoncordell
Created: 2011-11-12 23:37:15+00:00
State: open

I have the spork 0.9.0.rc9 gem on my machine (OS X 10.7 up to date with all os updates) and in my Gemfile (Rails 3.1.1). When I try to run spork --bootstrap I get the following error:

undefined method `split' for nil:NilClass (NoMethodError)
/Users/brandon/.rvm/gems/ruby-1.9.2-p180/gems/spork-0.9.0.rc9/lib/spork/gem_helpers.rb:10:in `initialize'
/Users/brandon/.rvm/gems/ruby-1.9.2-p180/gems/spork-0.9.0.rc9/lib/spork/gem_helpers.rb:25:in `new'
/Users/brandon/.rvm/gems/ruby-1.9.2-p180/gems/spork-0.9.0.rc9/lib/spork/gem_helpers.rb:25:in `block in latest_load_paths'
/Users/brandon/.rvm/gems/ruby-1.9.2-p180/gems/spork-0.9.0.rc9/lib/spork/gem_helpers.rb:24:in `each'
/Users/brandon/.rvm/gems/ruby-1.9.2-p180/gems/spork-0.9.0.rc9/lib/spork/gem_helpers.rb:24:in `inject'
/Users/brandon/.rvm/gems/ruby-1.9.2-p180/gems/spork-0.9.0.rc9/lib/spork/gem_helpers.rb:24:in `latest_load_paths'
/Users/brandon/.rvm/gems/ruby-1.9.2-p180/gems/spork-0.9.0.rc9/lib/spork.rb:108:in `other_spork_gem_load_paths'
/Users/brandon/.rvm/gems/ruby-1.9.2-p180/gems/spork-0.9.0.rc9/lib/spork.rb:101:in `detect_and_require'
/Users/brandon/.rvm/gems/ruby-1.9.2-p180/gems/spork-0.9.0.rc9/lib/spork/test_framework.rb:167:in `'
/Users/brandon/.rvm/gems/ruby-1.9.2-p180/gems/spork-0.9.0.rc9/lib/spork/runner.rb:49:in `find_test_framework'
/Users/brandon/.rvm/gems/ruby-1.9.2-p180/gems/spork-0.9.0.rc9/lib/spork/runner.rb:57:in `run'
/Users/brandon/.rvm/gems/ruby-1.9.2-p180/gems/spork-0.9.0.rc9/lib/spork/runner.rb:10:in `run'
/Users/brandon/.rvm/gems/ruby-1.9.2-p180/gems/spork-0.9.0.rc9/bin/spork:10:in `'
/Users/brandon/.rvm/gems/ruby-1.9.2-p180/bin/spork:19:in `load'
/Users/brandon/.rvm/gems/ruby-1.9.2-p180/bin/spork:19:in `

'