Open jaxxstorm opened 7 years ago
It looks like the reason for this is that the package that's being built is including the vendor
directory, which is in my .gitignore
and creating a very large (~40mb) package.
Is there something which might be causing blacksmith to include the vendor path even though it's in my .gitignore
?
For those that come across this, it's kinda silly.
Your gitignore must have a slash after the dir name.
So vendor
won't work
But vendor/
will.
@jaxxstorm does git ignore the folder and blacksmith not?
@rski see last comment, was a silly typo
Yes, I see, but i think this is still an issue. Blacksmith should ignore the same things that git does. vendor
works for git so why not for blacksmith?
Also the fact that a typo causes a completely irrelevant error like Errno::EPIPE: Broken pipe
should probably be addressed imo.
The broken pipe error was because of the size of the resulting module, which I didn't immediately notice. It should probably catch the error from the API better about the size of the uploaded module? I'll reopen and let someone else triage
When trying to do an initial push of a module, I'm getting
Errno::EPIPE: Broken pipe
Running ruby 2.3.1 on OS X if that helps