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

ERROR - Guard::Teaspoon failed to achieve its start #35

Open
achrome opened this issue Jun 3, 2014 · 3 comments
Open

ERROR - Guard::Teaspoon failed to achieve its start #35

achrome opened this issue Jun 3, 2014 · 3 comments

Comments

@achrome
Copy link

achrome commented Jun 3, 2014

Info

Rails 4.1.1
Guard 2.6.1
Guard-teaspoon 0.0.4
Teaspoon 0.8.0

Stacktrace

07:52:29 - ERROR - Guard::Teaspoon failed to achieve its <start>, exception was:
> [#09630D42DEDB] SystemExit: exit
> [#09630D42DEDB] /home/achrome/.rvm/gems/ruby-2.1.1@salve/gems/teaspoon-0.8.0/lib/teaspoon/console.rb:112:in `exit'
> [#09630D42DEDB] /home/achrome/.rvm/gems/ruby-2.1.1@salve/gems/teaspoon-0.8.0/lib/teaspoon/console.rb:112:in `abort'
> [#09630D42DEDB] /home/achrome/.rvm/gems/ruby-2.1.1@salve/gems/teaspoon-0.8.0/lib/teaspoon/console.rb:25:in `rescue in execute'
> [#09630D42DEDB] /home/achrome/.rvm/gems/ruby-2.1.1@salve/gems/teaspoon-0.8.0/lib/teaspoon/console.rb:21:in `execute'
> [#09630D42DEDB] /home/achrome/.rvm/gems/ruby-2.1.1@salve/gems/guard-teaspoon-0.0.4/lib/guard/teaspoon/runner.rb:21:in `run_all'
> [#09630D42DEDB] /home/achrome/.rvm/gems/ruby-2.1.1@salve/gems/guard-teaspoon-0.0.4/lib/guard/teaspoon.rb:34:in `run_all'
> [#09630D42DEDB] /home/achrome/.rvm/gems/ruby-2.1.1@salve/gems/guard-teaspoon-0.0.4/lib/guard/teaspoon.rb:30:in `start'

Guardfile

guard :teaspoon, cmd: 'spring teaspoon', environment: 'spec/teaspoon_env.rb' do
  # Implementation files
  watch(%r{app/assets/javascripts/(.+).coffee}) { |m| "#{m[1]}_spec" }

  # Specs / Helpers
  watch(%r{spec/javascripts/(.*)})
end
@achrome
Copy link
Author

achrome commented Jun 3, 2014

Also, if I run teaspoon directly, it works without any error.

@nathanhamilton
Copy link

@achrome I had exactly the same problem with almost the same environment setup as yourself. A series of comments on a teaspoon issue helped me fix this: jejacks0n/teaspoon#197. Specifically changing this line of code in development.rb fixed this issue for me.

config.assets.raise_runtime_errors = false

Hope this points you in the right direction.

@antoniusostermann
Copy link

Have the same error over here. Changing that line in development.rb didn't help.
Ruby 2.1.2
teaspoon 0.8.0.0
guard-teaspoon 0.8.0.0
rails 4.1.4
guard 2.6.1

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

3 participants