guides.cocoapods.org icon indicating copy to clipboard operation
guides.cocoapods.org copied to clipboard

`yard` is required to run `rake bootstrap`

Open brennanMKE opened this issue 10 years ago • 4 comments

I am following the instructions from the README but I have had to overcome several obstacles. One is the fact that yard was missing. Details are below. I do not know how this should work, but it seems like it should not result with this error.

> rake bootstrap
[!] Disabled the middleman publish task, run `rake bootstrap` first.
rake aborted!
cannot load such file -- yard
> sudo gem install yard
Fetching: yard-0.8.7.6.gem (100%)
Successfully installed yard-0.8.7.6
Parsing documentation for yard-0.8.7.6

brennanMKE avatar Nov 08 '14 00:11 brennanMKE

I also got an error on the next step.

> bundle exec rake generate:all
https://github.com/CocoaPods/CLAide.git (at master) is not checked out. Please run `bundle install`

I ran bundle install which seems to have run successfully and then I ran the previous command and it shows the same error.

brennanMKE avatar Nov 08 '14 00:11 brennanMKE

I've just pushed a fix in 4423268 for the issue where rake bootstrap was failing due to yard issues. Can you git pull and try rake bootstrap again and see if this fixes your issues.

kylef avatar Nov 08 '14 03:11 kylef

Thanks for the update. I previously installed yard manually so I am past that. I still get an error as shown below. I did find that the Git submodule for CLAide was not on a branch at all so I put it on master and pulled the latest just to be sure.

Then I ran the command again and it did not fix it.

> bundle exec rake generate:all
https://github.com/CocoaPods/CLAide.git (at master) is not checked out. Please run `bundle install`

brennanMKE avatar Nov 08 '14 20:11 brennanMKE

Also, running bundle install appears to work without errors but the previous command continues to show the same error.

brennanMKE avatar Nov 08 '14 20:11 brennanMKE