jnicklas/capybara — Issue #585: Error in spec_helper
Author: clemenshelm
Created: 2012-01-03 09:29:21+00:00
State: open

After forking & cloning the repo and running `bundle && rake` as described in `CONTRIBUTING.md` I’m running into the following error:

```ruby
/Users/clemens/projects/capybara-webkit/spec/spec_helper.rb:18:in `join': can't convert nil into String (TypeError)
from /Users/clemens/projects/capybara-webkit/spec/spec_helper.rb:18:in `'
from /Users/clemens/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
from /Users/clemens/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
from /Users/clemens/projects/capybara-webkit/spec/browser_spec.rb:1:in `'
from /Users/clemens/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `load'
from /Users/clemens/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `block in load_spec_files'
from /Users/clemens/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `map'
from /Users/clemens/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/configuration.rb:459:in `load_spec_files'
from /Users/clemens/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/command_line.rb:18:in `run'
from /Users/clemens/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:80:in `run_in_process'
from /Users/clemens/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:69:in `run'
from /Users/clemens/.rvm/gems/ruby-1.9.2-p290/gems/rspec-core-2.7.1/lib/rspec/core/runner.rb:10:in `block in autorun'
```

It looks like `spec_helper.rb` also requires capybara’s `spec_helper.rb` which isn’t there. How can I resolve this?