-
Notifications
You must be signed in to change notification settings - Fork 15
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
Grouping gems by ENV #14
Comments
+1 - coming from Bundler I miss being able to specify groups so that I don't incur all my dev/testing env overhead in production |
We have different I think I'd be +1 on something that makes this easier. However, maybe it could be something more general than 'environments'? Maybe just tags?
I'm not sure if multiple tags on the same gem is something that could be useful. Even if it's not, I think I prefer a format that is line-by-line, rather than something with |
Another option is using pure ruby to represent the dependencies in the It could be something like this: Lib "ohm" "2.0.0"
if test_condition
Lib "cutest" "1.2.1"
end This would also open the possibility to let the user extend the library without changing it's code. For example to have git integration someone could just subclass require "git-for-dep"
Git "ohm" "2.0.0" "https://github.com/soveran/ohm.git"
if test_condition
Lib "cutest" "1.2.1"
end |
Maybe you can have 2 files:
|
Hi guys,
I wonder how you guys use
dep
in production. Do you guys also install test specific gems in non-test environments?Thanks!
The text was updated successfully, but these errors were encountered: