6

I'm trying to run Heckle, and I keep getting an error:

> spec spec/controllers/my_controller_spec.rb --heckle MyController

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! exception= has a thick skin. There's nothing to heckle.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

(Runs through several mutations...)

/home/developer/.gem/ruby/1.8/gems/heckle-1.4.3/lib/heckle.rb:603:in `current_code': undefined method `translate' for Ruby2Ruby:Class (NoMethodError)

Any thoughts?

EDIT: I forgot the gem versions:

heckle (1.4.3)
ruby2ruby (1.2.3)
rails (2.3.2, 2.2.2)
rspec (1.2.6)
rspec-rails(1.2.6, 1.1.12)
Andrew Grimm
  • 78,473
  • 57
  • 200
  • 338
Matt Grande
  • 11,964
  • 6
  • 62
  • 89
  • For those wondering if it this is deja vu, version 1.4.2 dealt with another change in ruby2ruby. – Andrew Grimm Dec 01 '09 at 22:23
  • Apparently it moved: http://rubyforge.org/tracker/index.php?func=detail&aid=27745&group_id=1513&atid=5921 –  Feb 07 '11 at 11:10

1 Answers1

7

Install ruby2ruby 1.2.2. There seems to be an API change in 1.2.3.

Just generated the docs for 1.2.2 and 1.2.3

Looks like the class method 'translate' has been totally removed, although the docs don't reflect this