How can I run the test suite on rspec-mocks project?

9 views
Skip to first unread message

Panayotis Matsinopoulos

unread,
Feb 16, 2014, 3:58:45 AM2/16/14
to rs...@googlegroups.com
Hi Guys,

I am trying to run the test suite on rspec-mocks and before that I do a bundle and I get the following error:

(after having checkedout v2.14.5)

Bundler::GemspecError: Could not read gem at /home/panayotis/.rvm/gems/ruby-1.9.3-p327@test_rspec/cache/yard-0.8.0.gem. It may be corrupted.
An error occurred while installing yard (0.8.0), and Bundler cannot continue.
Make sure that `gem install yard -v '0.8.0'` succeeds before bundling.

What am I doing wrong?

Is there another process that I can run the test suite on rspec-mocks?

Thanks in advance
Panayotis

Myron Marston

unread,
Feb 16, 2014, 10:14:24 AM2/16/14
to rs...@googlegroups.com
I've never seen that error before.  Yard must have installed wrong, so you can always try deleting your bundle and re-bundling.

That said, yard isn't needed by the specs and is in bundle group so it's easy to avoid installing it.  Try this bundler command:

bundle install --without documentation

HTH,
Myron 

Panayotis Matsinopoulos

unread,
Feb 16, 2014, 12:44:59 PM2/16/14
to rs...@googlegroups.com
Hi Myron

Using

bundle install --without documentation

solved the problem.

Thanks for help.

Panayotis
Reply all
Reply to author
Forward
0 new messages