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

> On 24 May 2011 08:31, Bernd Blume <bernd.bl...@me.com> wrote:
> 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 `<main>'
> lily:BDD berndblume-o$ ruby -v
> ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]
> 
> Please help! :-)
> 
> Thanks in advance,
> 
> Bernd
> 
> 
> Works for me see  https://gist.github.com/989180 . 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

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
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to