-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Currently there's the following code in the gemspec:
Lines 26 to 31 in e3f9bf4
if RUBY_VERSION < "2.3" | |
spec.add_development_dependency "ruby_dep", "~> 1.3.1" | |
spec.add_development_dependency "listen", "~> 3.0.8" | |
else | |
spec.add_development_dependency "listen", "~> 3.1" | |
end |
This doesn't work because gemspecs evaluate tot static content. This means it's evaluated only when gem build is called. That Ruby version used there determines the actual resulting gem dependencies.
I'm not aware of any method to do this more dynamically for users.
Metadata
Metadata
Assignees
Labels
No labels