gma / tconsole

Testing console for Rails. Helps out with test performance and also makes it easier to run specific tests
177 stars 18 forks source link

Tconsole: error running tests #44

Closed krzyzak closed 12 years ago

krzyzak commented 12 years ago

Hi, I would like to give a try to tconsole, however, I can't run any single test in my project. I'm running ruby 1.9.3-p125 with rails 3.2.1 on OS X 10.7.3 When I'm trying to run tests, I've got following error:

  tconsole> all
  /path/to/gems/tconsole-1.1.0/lib/tconsole/console.rb:43:in `[]': invalid index (IndexError)
    from /path/to/gems/tconsole-1.1.0/lib/tconsole/console.rb:43:in `read_and_execute'
    from //path/to/gems/tconsole-1.1.0/lib/tconsole.rb:93:in `run'
    from /path/to/gems/tconsole-1.1.0/bin/tconsole:5:in `<top (required)>'
    from //path/to/gems/ruby-1.9.3-p125/bin/tconsole:19:in `load'
    from /path/to/gems/ruby-1.9.3-p125/bin/tconsole:19:in `<main>'
saks commented 12 years ago

this issue was already reported

krzyzak commented 12 years ago

indeed – I had no idea, that it's related with history, I'm closing it then ;)

nalanj commented 12 years ago

@krzyzak - It's fixed now. I just released tconsole 1.1.1 that includes that fix.

Thanks for reporting that issue.