[rspec-users] uninitialized constant Spec::VERSION::REV (NameError)

Sunny Bak lists at ruby-forum.com
Tue May 12 21:30:09 EDT 2009


David Chelimsky wrote:
> On Tue, May 12, 2009 at 6:43 PM, Sunny Bak <lists at ruby-forum.com> wrote:
>> I am a newbie for rspec.
>> I am trying to install and run a "test" test, but i get an error.
>>
>> .../lib/active_support/dependencies.rb:440:in `load_missing_constant':
>> uninitialized constant Spec::VERSION::REV (NameError)
>>
>> Can someone help me?
> 
> Spec::VERSION::REV does not exist anywhere in rspec, so this is coming
> from something other than rspec. What versions of rails, rspec and
> ruby are you using? What other plugins and/or libraries?

Thank you David,

I've attached the whole error messages.  The versions are :
ruby-oci8 (1.0.4)
rspec-rails (1.2.6)
rspec (1.2.6)
rake (0.8.4)
ruby (1.8.7)
Thank you for your help!


/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:440:in 
`load_missing_constant': uninitialized constant Spec::VERSION::REV 
(NameError)
        from 
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80:in 
`const_missing'
        from 
/home/ror/newdarts/vendor/plugins/rspec_on_rails/lib/spec/rails/version.rb:13
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`require'
        from 
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:158:in 
`require'
        from 
/home/ror/newdarts/vendor/plugins/rspec_on_rails/lib/spec/rails.rb:11
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`require'
        from 
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:158:in 
`require'
        from ./spec/models/../spec_helper.rb:6
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
        from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`require'
        from ./spec/models/user_spec.rb:1
        from 
/home/sbak/.gem/ruby/1.8/gems/rspec-1.2.6/lib/spec/runner/example_group_runner.rb:15:in 
`load'
        from 
/home/sbak/.gem/ruby/1.8/gems/rspec-1.2.6/lib/spec/runner/example_group_runner.rb:15:in 
`load_files'
        from 
/home/sbak/.gem/ruby/1.8/gems/rspec-1.2.6/lib/spec/runner/example_group_runner.rb:14:in 
`each'
        from 
/home/sbak/.gem/ruby/1.8/gems/rspec-1.2.6/lib/spec/runner/example_group_runner.rb:14:in 
`load_files'
        from 
/home/sbak/.gem/ruby/1.8/gems/rspec-1.2.6/lib/spec/runner/options.rb:99:in 
`run_examples'
        from 
/home/sbak/.gem/ruby/1.8/gems/rspec-1.2.6/lib/spec/runner/command_line.rb:9:in 
`run'
        from /home/sbak/.gem/ruby/1.8/gems/rspec-1.2.6/bin/spec:4
        from /usr/local/bin/spec:19:in `load'
        from /usr/local/bin/spec:19
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list