You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~/.rvm/gems/ruby-1.9.3-p484@applauze/gems/transpec-1.9.0/lib/transpec/util.rb:88:in `block in each_forward_chained_node': undefined method `type' for :syncer:Symbol (NoMethodError)
My Gemfile has:
group :development, :test do
gem 'rspec-rails', '~> 2.14'
...
end
I did:
> gem install transpec
> transpec
Here's the full backtrace, with the paths slightly shortened for readability:
Copying the project for dynamic analysis...
Running dynamic analysis with command "bundle exec rspec"...
...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/util.rb:88:in `block in each_forward_chained_node': undefined method `type' for :syncer:Symbol (NoMethodError)
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/util.rb:84:in `loop'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/util.rb:84:in `each_forward_chained_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/syntax/mixin/expect_base.rb:41:in `each'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/syntax/mixin/expect_base.rb:41:in `select'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/syntax/mixin/expect_base.rb:41:in `matcher_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/syntax/mixin/have_matcher_owner.rb:14:in `block (2 levels) in <module:HaveMatcherOwner>'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/syntax.rb:79:in `instance_exec'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/syntax.rb:79:in `block in register_request_for_dynamic_analysis'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/syntax.rb:78:in `each'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/syntax.rb:78:in `register_request_for_dynamic_analysis'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer/rewriter.rb:50:in `block (2 levels) in collect_requests'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer/rewriter.rb:47:in `each'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer/rewriter.rb:47:in `block in collect_requests'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:113:in `block in each_descendent_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:99:in `block in each_child_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:97:in `each'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:97:in `each_child_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:112:in `each_descendent_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:114:in `block in each_descendent_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:99:in `block in each_child_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:97:in `each'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:97:in `each_child_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:112:in `each_descendent_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:114:in `block in each_descendent_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:99:in `block in each_child_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:97:in `each'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:97:in `each_child_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:112:in `each_descendent_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:114:in `block in each_descendent_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:99:in `block in each_child_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:97:in `each'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:97:in `each_child_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:112:in `each_descendent_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:114:in `block in each_descendent_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:99:in `block in each_child_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:97:in `each'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:97:in `each_child_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:112:in `each_descendent_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:114:in `block in each_descendent_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:99:in `block in each_child_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:97:in `each'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:97:in `each_child_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:112:in `each_descendent_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:114:in `block in each_descendent_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:99:in `block in each_child_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:97:in `each'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:97:in `each_child_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:112:in `each_descendent_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/ast/node.rb:125:in `each_node'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer/rewriter.rb:46:in `collect_requests'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer/rewriter.rb:20:in `process'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/base_rewriter.rb:26:in `rewrite'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/base_rewriter.rb:10:in `rewrite_file!'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer.rb:109:in `block (2 levels) in analyze'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer.rb:107:in `each'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer.rb:107:in `block in analyze'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer.rb:126:in `in_copied_project'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer.rb:104:in `analyze'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/cli.rb:53:in `block in process'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer.rb:90:in `block in initialize'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer.rb:134:in `block (2 levels) in in_copied_project'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer.rb:133:in `chdir'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer.rb:133:in `block in in_copied_project'
from ~/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer.rb:130:in `in_copied_project'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/dynamic_analyzer.rb:89:in `initialize'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/cli.rb:51:in `new'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/cli.rb:51:in `process'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/cli.rb:37:in `run'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/lib/transpec/cli.rb:19:in `run'
from ...ruby-1.9.3-p484@myproject/gems/transpec-1.9.0/bin/transpec:7:in `<top (required)>'
from ~/.rvm/gems/ruby-1.9.3-p484@applauze/bin/transpec:23:in `load'
from ~/.rvm/gems/ruby-1.9.3-p484@applauze/bin/transpec:23:in `<main>'
from ~/.rvm/gems/ruby-1.9.3-p484@applauze/bin/ruby_executable_hooks:15:in `eval'
from ~/.rvm/gems/ruby-1.9.3-p484@applauze/bin/ruby_executable_hooks:15:in `<main>'
The text was updated successfully, but these errors were encountered:
Any idea how to get past this?
My Gemfile has:
I did:
> gem install transpec
> transpec
Here's the full backtrace, with the paths slightly shortened for readability:
The text was updated successfully, but these errors were encountered: