-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f264a14
commit 6cc677d
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6cc677d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @deivid-rodriguez,
I neeeed help here!
Whilst this seems perfectly okay, syntax-wise, I can't seem to figure out why the CI is failing!?
Is it not the right way to do stuff? Or am I missing something very obvious?
6cc677d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using a dependency of your library inside the gemspec itself is... problematic. I haven't looked at your CI error, but I wouldn't expect it to work because
bundler
needs to evaluate the gemspec before it is able to setup the$LOAD_PATH
and everything else so that you canrequire
your dependency. So, I would stick toDir.glob
here.If we were to implement something like this in bundler/rubygems, we would need to vendor the
fast_ignore
code because dependency managers are not allowed to have any dependencies due to chicken and egg issues.6cc677d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah! I now understand this!
Thank you, you da best ❤️
Got it! I'll probably talk about this on Thursday then \o/