sporkrb/spork-rails — Issue #1: bootstrap problem with spork
Author: RaimundSchramm
Created: 2012-01-23 16:19:26+00:00
State: open

Hi Tim,

I'm using ruby 1.9.2-p290 (+ rvm + gemset) and rails 3.1.3 (+ bundler) for this app (created for rspec so no test folder is present) on Ubuntu 10.04 .

I just tried to install my development-and-test-gem-group containing
- guard-rspec (installs 0.6.0 + guard 1.0.0 as dependency),
- spork-rails (installs 3.2.0 + spork 1.0.0rc0 as dependency) and
- rspec-rails (installs rspec-rails 2.8.1 + rspec 2.8 as dependency)

When i now try to bootstrap my spec_helper.rb file as stated in the documentation (either with or without bundle exec) i get the following error message in my terminal:

bla@bla:~/Aptana Studio 3 Workspace/appname$ bundle exec spork rspec --bootstrap

Using RSpec, Rails
Bootstrapping /bla/Aptana Studio 3 Workspace/appname/spec/spec_helper.rb.

No such file or directory - /path_to_rvm/.rvm/gems/ruby-1.9.2-p290@gemset_name/gems/spork-1.0.0rc0/lib/spork/../../assets/bootstrap.rb (Errno::ENOENT)

/path_to_rvm/.rvm/gems/ruby-1.9.2-p290@gemset_name/gems/spork-1.0.0rc0/lib/spork/test_framework.rb:99:in `read'
/path_to_rvm/.rvm/gems/ruby-1.9.2-p290@gemset_name/gems/spork-1.0.0rc0/lib/spork/test_framework.rb:99:in `bootstrap'
/path_to_rvm/.rvm/gems/ruby-1.9.2-p290@gemset_name/gems/spork-1.0.0rc0/lib/spork/runner.rb:64:in `run'
/path_to_rvm/.rvm/gems/ruby-1.9.2-p290@gemset_name/gems/spork-1.0.0rc0/lib/spork/runner.rb:10:in `run'
/path_to_rvm/.rvm/gems/ruby-1.9.2-p290@gemset_name/gems/spork-1.0.0rc0/bin/spork:10:in `'
/path_to_rvm/.rvm/gems/ruby-1.9.2-p290@gemset_name/bin/spork:19:in `load'
/path_to_rvm/.rvm/gems/ruby-1.9.2-p290@gemset_name/bin/spork:19:in `

'

Sorry, if this is not the fault of your gem but i have no clue. Maybe you can give me a hint if i did install or configure wrongly.

Thanks in advance
Raimund