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

(eval):1: syntax error, unexpected keyword_nil #43

Open
ddayan opened this issue May 1, 2011 · 2 comments
Open

(eval):1: syntax error, unexpected keyword_nil #43

ddayan opened this issue May 1, 2011 · 2 comments

Comments

@ddayan
Copy link

ddayan commented May 1, 2011

Suddenly I'm getting the following:
Any idea what could be wrong? My project is due in 3 days :O

dhcp-85-176:eye-servers-blaze ddayan$ rake cover_me:report --trace
(in /Users/ddayan/git/eye-servers-blaze)
** Invoke cover_me:report (first_time)
** Execute cover_me:report
rake aborted!
(eval):1: syntax error, unexpected keyword_nil, expecting $end
...l, nil, nil, nil, nil, nil]}nil, nil, nil], "/Users/ddayan/....
... ^
/Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/cover_me-1.0.0.rc6/lib/cover_me/results.rb:9:in eval' /Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/cover_me-1.0.0.rc6/lib/cover_me/results.rb:9:inread_results'
/Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/cover_me-1.0.0.rc6/lib/cover_me.rb:16:in complete!' /Users/ddayan/git/eye-servers-blaze/lib/tasks/cover_me.rake:5:inblock (2 levels) in <top (required)>'
/Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:636:in call' /Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:636:inblock in execute'
/Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:631:in each' /Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:631:inexecute'
/Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:597:in block in invoke_with_call_chain' /Users/ddayan/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/monitor.rb:201:inmon_synchronize'
/Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:590:in invoke_with_call_chain' /Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:583:ininvoke'
/Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2051:in invoke_task' /Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2029:inblock (2 levels) in top_level'
/Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2029:in each' /Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2029:inblock in top_level'
/Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2068:in standard_exception_handling' /Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2023:intop_level'
/Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2001:in block in run' /Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:2068:instandard_exception_handling'
/Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/lib/rake.rb:1998:in run' /Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/rake-0.8.7/bin/rake:31:in<top (required)>'
/Users/ddayan/.rvm/gems/ruby-1.9.2-p136/bin/rake:19:in load' /Users/ddayan/.rvm/gems/ruby-1.9.2-p136/bin/rake:19:in

'
/Users/ddayan/.rvm/gems/ruby-1.9.2-p136/gems/cover_me-1.0.0.rc6/lib/cover_me/results.rb:9:in `eval': exit (SyntaxError)
(eval):1: syntax error, unexpected keyword_nil, expecting $end
...l, nil, nil, nil, nil, nil]}nil, nil, nil], "/Users/ddayan/....

@markbates
Copy link
Owner

Try deleting the coverage.data file and see if that helps.

@ddayan
Copy link
Author

ddayan commented May 1, 2011

wow that was quick. yeap it works, Thanks! any idea what was wrong, and why deleting the coverage.data solves it?

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