Error when trying to run rspec

Just tried to run rspec and got this error message even though the
rspec gem installed successfully:

$ spec hello_spec.rb
/Users/pdenlinger/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:
340:in bin_path': can't find executable spec for rspec-2.0.0.beta.18 (Gem::Exception) from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/bin/spec:19:in

What do I need to do to make things work?

Thanks in advance,
Paul D.

On Sep 4, 2010, at 12:25 PM, Paul D. wrote:

Just tried to run rspec and got this error message even though the
rspec gem installed successfully:

$ spec hello_spec.rb
/Users/pdenlinger/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems.rb:
340:in bin_path': can't find executable spec for rspec-2.0.0.beta.18 (Gem::Exception) from /Users/pdenlinger/.rvm/gems/ruby-1.9.2-p0/bin/spec:19:in

What do I need to do to make things work?

The command is now rspec.

http://github.com/rspec/rspec-core/blob/master/Upgrade.markdown

Cheers,
David

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs