Rspec-expectations backward compatability issue

Hi,

I setup a new app and then all of a sudden I have this issue with
rspec-expectations 2.5.0.

I get a backward compatability.rb:6:in ‘const_missing’: uninititalized
constant object:TracApp (NameError)

The trac_app is the name of the directory of my new app.

I have changed my gemfile to gem ‘rspec-core’, ‘2.5.1’, and this did not
help.

What I did notice was that my gemset was loading rack 1.2.2 and my
gemfile was calling for rack 1.2.1. I gem uninstall rack -v1.2.2, and
then called for rack 1.2.1 in my gemfile and thought that would settle
things, but the same backward compatability flag for rspec-expectations
was raised.

I have another app where the rack 1.2.2 issue raised its head but
uninstalling it and then running my tests worked just fine … of course
once you leave that app and come back the rack issue is still there.

Any help would be appreciated as I cannot continue with my new app
albeit a training session in my learning rails journey.

Thanks,

fuzzy.

Hi,

I found the problem with the rspec-expectations flag, it was as pointed
out, a NameError, in my config/application file I had the wrong name.

The rack 1.2.2 problem still persists if anyone has any pointers.

Thanks,

fuzzy.