jnicklas/turnip — Issue #19: Error when spec_helper.rb file doesn't exist
Author: alisterscott
Created: 2011-11-30 03:08:10+00:00
State: open

When running Turnip, an error is thrown if spec_helper.rb file doesn't exist:

rspec spec
/Users/alscott/.rvm/rubies/ruby-1.9.3-rc1/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require': cannot load such file -- spec_helper (LoadError)
from /Users/alscott/.rvm/rubies/ruby-1.9.3-rc1/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
from /Users/alscott/.rvm/gems/ruby-1.9.3-rc1@turnip/gems/turnip-0.2.0/lib/turnip/loader.rb:5:in `load'
from /Users/alscott/.rvm/gems/ruby-1.9.3-rc1@turnip/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `block in load_spec_files'
from /Users/alscott/.rvm/gems/ruby-1.9.3-rc1@turnip/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `map'
from /Users/alscott/.rvm/gems/ruby-1.9.3-rc1@turnip/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `load_spec_files'
from /Users/alscott/.rvm/gems/ruby-1.9.3-rc1@turnip/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:18:in `run'
from /Users/alscott/.rvm/gems/ruby-1.9.3-rc1@turnip/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in `run_in_process'
from /Users/alscott/.rvm/gems/ruby-1.9.3-rc1@turnip/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:69:in `run'
from /Users/alscott/.rvm/gems/ruby-1.9.3-rc1@turnip/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in `block in autorun'