Problems installing rspec 2.6

Hi,

I’ve tried to install rspec on Mac OS X.

I’m on Ruby 1.9.2p180.

After

gem install rspec

and then

rspec --help

I get the following messages:

lily:BDD berndblume-o$ rspec --help
Invalid gemspec in
[/Users/berndblume-o/.rvm/gems/ruby-1.9.2-p180/specifications/rspec-core-2.6.2.gemspec]:
invalid date format in specification: “2011-05-21 00:00:00.000000000Z”
/Users/berndblume-o/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:926:in
`report_activate_error’: Could not find RubyGem rspec-core (>= 0)
(Gem::LoadError)

from
/Users/berndblume-o/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:244:in
`activate_dep’

from
/Users/berndblume-o/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:236:in
`activate’

from
/Users/berndblume-o/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:1307:in
`gem’

from /Users/berndblume-o/.rvm/gems/ruby-1.9.2-p180/bin/rspec:18:in
`’
lily:BDD berndblume-o$ ruby -v
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]

Please help! :slight_smile:

Thanks in advance,

Bernd

On 24 May 2011 08:31, Bernd B. [email protected] wrote:

/Users/berndblume-o/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:926:in

`gem’

Works for me see installing rspec with rvm · GitHub . If you follow that do
you
get the same error? If so can you gist the following

rvm --version
ruby --version
gem list --local

Perhaps you need to update rvm, or revert it back?

HTH

Andrew

On May 24, 2011, at 12:27 PM, Andrew P. wrote:

/Users/berndblume-o/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:926:in
`report_activate_error’: Could not find RubyGem rspec-core (>= 0) (Gem::LoadError)

ruby --version
gem list --local

Perhaps you need to update rvm, or revert it back?

HTH

Andrew

This is a rubygems issue that only happens with certain versions of
Rubygems. I’ve released 2.6.3, which is built with a version of rubygems
that does not introduce this problem, regardless of the version of
rubygems you are using to install the gem.

HTH,
David