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

#<RuntimeError: Application has been already initialized.> #32

Closed
cabaret opened this issue Sep 29, 2011 · 4 comments
Closed

#<RuntimeError: Application has been already initialized.> #32

cabaret opened this issue Sep 29, 2011 · 4 comments

Comments

@cabaret
Copy link

cabaret commented Sep 29, 2011

Hi.

I'm running Guard with guard-spork, guard-cucumber and guard-rspec.

However, it doesn't quite work. It loads spork, then runs my rspec tests but it fails with the following message when it tries starting the cucumber tests:

Exception encountered: #<RuntimeError: Application has been already initialized.>

A full write-up about the issue is on stack overflow; I wasn't quite sure if I should post everything here, again:

http://stackoverflow.com/questions/7591058/guard-with-spork-rspec-and-cucumber-application-has-been-already-initialized

@thibaudgg
Copy link
Member

Please can you try the master branch to see if it's working by adding:

gem 'guard-spork', :git => 'git://github.com/guard/guard-spork.git'

to your Gemfile?

@cabaret
Copy link
Author

cabaret commented Sep 29, 2011

Thanks for the quick reply. I added that to my gemfile and I am now getting another error message:

(druby://127.0.0.1:8989) /Users/joris/.rvm/gems/ruby-1.9.2-p180/gems/spork-0.9.0.rc9/lib/spork/server.rb:47:inwrite': Input/output error - (Errno::EIO)`

http://pastebin.com/GVxFEtQv

@thibaudgg
Copy link
Member

Please can you try by launching guard with bundle exec: bundle exec guard

@cabaret
Copy link
Author

cabaret commented Sep 29, 2011

That seems to have fixed it. I changed around a couple of gems aswell though, so might be the solution. It works now, but I'm not exactly sure how I did it. :(

@cabaret cabaret closed this as completed Sep 29, 2011
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