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: Cannot start Rack server: undefined method `[]' for nil:NilClass #45

Closed
dnagir opened this issue Mar 13, 2012 · 6 comments
Closed

Comments

@dnagir
Copy link
Member

dnagir commented Mar 13, 2012

When using the rake task I get the error:

> bundle exec rake ci --trace
** Invoke ci (first_time)
** Execute ci
** Invoke guard:jasmine (first_time)
** Execute guard:jasmine
Guard::Jasmine starts webrick test server on port 8888 in test environment.
ERROR: Cannot start Rack server: undefined method `[]' for nil:NilClass

The usage of the Rake task:

task :ci do
  require 'guard/jasmine/task'
  Guard::JasmineTask.new
  Rake::Task['guard:jasmine'].invoke
end

Using guard-jasmine (1.0.2).

@netzpirat
Copy link
Contributor

I cannot reproduce it, the given snippet works fine here.

@dnagir
Copy link
Member Author

dnagir commented Mar 13, 2012

That's weird :(

@netzpirat
Copy link
Contributor

Can you try guard-jasmine from master? I think I found the issue...

@dnagir
Copy link
Member Author

dnagir commented Mar 13, 2012

Yes, that fixes the issue. Are you going to release it or should I use master?

@netzpirat
Copy link
Contributor

I just released 1.0.3

@dnagir
Copy link
Member Author

dnagir commented Mar 13, 2012

Thanks a lot!

On 13/03/2012, at 7:22 PM, Michael Kessler wrote:

I just released 1.0.3


Reply to this email directly or view it on GitHub:
#45 (comment)

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