Aquarium icon indicating copy to clipboard operation
Aquarium copied to clipboard

uninitialized constant error

Open ali-v-1985 opened this issue 5 years ago • 2 comments

When I create a pointcut like this: my_pointcuts = Pointcut.new :invocations_of => :all_methods, :on_types => MyClass

It keep giving me this error:

uninitialized constant MyClass (NameError)

Can you help me with that, please?

ali-v-1985 avatar Apr 17 '19 07:04 ali-v-1985

I'm traveling and won't be able to look at this before the weekend. It could be that Aquarium is incompatible with the version of Ruby you are using. I haven't updated Aquarium in a long time. See the compatibility information in the README.

deanwampler avatar Apr 18 '19 08:04 deanwampler

I updated the project to use Ruby 2.6.3 and rehosted the docs here: https://deanwampler.github.io/open-source/aquarium/index.html (since RubyForge is dead).

You can download a new 0.7.1 gem from rubygems.org.

deanwampler avatar Apr 23 '19 21:04 deanwampler