rake doc:plugins

When I executed the command – rake doc:plugins

Rdoc –o doc/plugins/rspec –title

...

...

...

vendor/plugins/rspec/lib/spec.rb vendor/plugins/rspec/README

Rake aborted!

You have a nil object when you didn’t expect it!

The error occurred while evaluating nil.exitstatus

This error was there. Please send me the solution of this problem.

Thanks in advance!

Shikha Sharma wrote:

When I executed the command – rake doc:plugins

Rdoc –o doc/plugins/rspec –title

...

...

...

vendor/plugins/rspec/lib/spec.rb vendor/plugins/rspec/README

Rake aborted!

You have a nil object when you didn’t expect it!

The error occurred while evaluating nil.exitstatus

This error was there. Please send me the solution of this problem.

That looks like an error in RSpec specifically. I don't have a ready-made fix, but if you're keen on generating the documentation for that plugin I suggest looking at spec.rb, as pointed to in the error message.

The rdoc for RSpec is also available online: http://rspec.rubyforge.org/rdoc/index.html

Ya again I tried to install rspec and it was successfully installed as before but still the problem is there.