Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rake build fails #432

Closed
dogatana opened this issue Dec 3, 2016 · 3 comments
Closed

rake build fails #432

dogatana opened this issue Dec 3, 2016 · 3 comments

Comments

@dogatana
Copy link
Contributor

dogatana commented Dec 3, 2016

rake build fails.

> rake build
rake aborted!
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
ERROR:  While executing gem ... (Gem::InvalidSpecificationException)
    ["lib/rdoc/markdown.rb", "lib/rdoc/rd/block_parser.rb", "lib/rdoc/rd/inline_parser.rb"] are not files

Tasks: TOP => build
(See full trace by running task with --trace)

https://github.com/rdoc/rdoc/blob/master/rdoc.gemspec#L33 seems to cause this.
After removing this line, rake build succeeded.
Is this really necessary?

@hsbt
Copy link
Member

hsbt commented Dec 5, 2016

You need to invoke rake generate

I added rake generate to dependency of rake build task with
https://github.com/rdoc/rdoc/commit/c06cb00e86ee94e013e34fe27838f730ae94e8f0

@hsbt hsbt closed this as completed Dec 5, 2016
@dogatana
Copy link
Contributor Author

dogatana commented Dec 5, 2016

I didn't know (read) that.
Now it works fine, thank you.

@Apteryks
Copy link

@hsbt interestingly invoking 'gem build rdoc.gemspec' doesn't honor the added dependency... weird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants