Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue using spork with rails4 #227

Closed
gprasant opened this issue May 22, 2013 · 1 comment
Closed

issue using spork with rails4 #227

gprasant opened this issue May 22, 2013 · 1 comment

Comments

@gprasant
Copy link

I tried to install spork and use it with a rails 4 app but it is failing. I am following the instructions verbatim in http://ruby.railstutorial.org/chapters/static-pages?version=4.0.

The error I get is

$ bundle exec spork 
Using RSpec, Rails
cannot load such file -- magazine/magazine_slave (LoadError)
/Users/pguruprasad/.rvm/gems/ruby-1.9.3-p362/gems/spork-1.0.0rc3/lib/spork/run_strategy/magazine.rb:18:in `require'
/Users/pguruprasad/.rvm/gems/ruby-1.9.3-p362/gems/spork-1.0.0rc3/lib/spork/run_strategy/magazine.rb:18:in `<top (required)>'
/Users/pguruprasad/.rvm/gems/ruby-1.9.3-p362/gems/spork-1.0.0rc3/lib/spork/run_strategy.rb:48:in `require'
/Users/pguruprasad/.rvm/gems/ruby-1.9.3-p362/gems/spork-1.0.0rc3/lib/spork/run_strategy.rb:48:in `block in <top (required)>'
/Users/pguruprasad/.rvm/gems/ruby-1.9.3-p362/gems/spork-1.0.0rc3/lib/spork/run_strategy.rb:48:in `each'
/Users/pguruprasad/.rvm/gems/ruby-1.9.3-p362/gems/spork-1.0.0rc3/lib/spork/run_strategy.rb:48:in `<top (required)>'
/Users/pguruprasad/.rvm/gems/ruby-1.9.3-p362/gems/spork-1.0.0rc3/lib/spork/runner.rb:73:in `run'
/Users/pguruprasad/.rvm/gems/ruby-1.9.3-p362/gems/spork-1.0.0rc3/lib/spork/runner.rb:10:in `run'
/Users/pguruprasad/.rvm/gems/ruby-1.9.3-p362/gems/spork-1.0.0rc3/bin/spork:10:in `<top (required)>'
/Users/pguruprasad/.rvm/gems/ruby-1.9.3-p362/bin/spork:19:in `load'
/Users/pguruprasad/.rvm/gems/ruby-1.9.3-p362/bin/spork:19:in `<main>'
/Users/pguruprasad/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in `eval'
/Users/pguruprasad/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in `<main>'

I can even find where this magazine_slave is on my machine.

@sahilm
Copy link
Contributor

sahilm commented Jul 6, 2013

Support for Rails 4, Ruby 2.0, Cucumber 1.3.2 and Rspec 2.13.0 has landed on master. Please help me test by including spork-rails, :github => 'sporkrb/spork-rails' in your Gemfile.

CI builds for spork and spork-rails have been setup at https://travis-ci.org/sporkrb/spork and https://travis-ci.org/sporkrb/spork-rails respectively.

@sahilm sahilm closed this as completed Jul 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants