question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Jasmine runner at '/specs' returned a 500 error

See original GitHub issue

Full trace below:

rake spec:javascript --trace 
** Invoke spec:javascript (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute spec:javascript
rake aborted!
Jasmine runner at '/specs' returned a 500 error: Internal Server Error
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/jasmine-rails-0.4.5/lib/tasks/jasmine-rails_tasks.rake:23:in `block (2 levels) in <top (required)>'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/chrisnicola/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
./bin/rake:4:in `<main>'

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
chrisnicolacommented, Jul 12, 2013

Ok I see, I have to actually run it with RAILS_ENV=test rake spec:javascript for some reason. That’s a bit unusual, I would have expected test/spec tasks to use the test environment by default.

0reactions
chrisnicolacommented, Jul 12, 2013

Ok we’ll I’ll close this for the time being.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jasmine runner at '/specs' returned a 302 error: Found
I'm using jasmine-rails-0.4.5 and devise-2.2.3 in a standard rails-3.2 app. When I run bundle exec rake spec:javascript, in order to run the ...
Read more >
Configuration - WebdriverIO
Defines the test framework to be used by the WDIO testrunner. Type: String Default: mocha. Options: mocha | jasmine. mochaOpts, jasmineOpts and cucumberOpts​....
Read more >
How to Fix a 500 Internal Server Error on Your WordPress Site
The 500 Internal Server Error status code occurs when the server encounters an error that prevents it from fulfilling the request.
Read more >
jasmine-node - npm
DOM-less simple JavaScript BDD testing framework for Node. Latest version: 3.0.0, last published: 3 years ago. Start using jasmine-node in your project by ......
Read more >
Unit test reports - GitLab Documentation
xml files, otherwise GitLab returns an Error 500. In the following example for Ruby, the job in the test stage runs and GitLab...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found