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?
Thanks.
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?
Thanks.
On Tue, May 12, 2009 at 6:43 PM, Sunny B. [email protected] 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?
On Tue, May 12, 2009 at 8:30 PM, Sunny B. [email protected] wrote:
Spec::VERSION::REV does not exist anywhere in rspec, so this is coming
ruby (1.8.7)
/home/ror/newdarts/vendor/plugins/rspec_on_rails/lib/spec/rails/version.rb:13
I think this is the culprit. Looks like you have a VERY old version of
rspec-rails (when it was called rspec_on_rails).
Are you trying to use rspec[-rails] as plugins or gems? If gems,
system or bundled?
David
David C. wrote:
On Tue, May 12, 2009 at 6:43 PM, Sunny B. [email protected] 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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs