Skip to content

Commit

Permalink
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 6 additions & 0 deletions core/src/main/java/org/jruby/util/cli/ArgumentProcessor.java
Original file line number Diff line number Diff line change
@@ -817,6 +817,12 @@ public Boolean apply(ArgumentProcessor processor, Boolean enable) {
return true;
}
});
features.put("gem", new Function2<Boolean, ArgumentProcessor, Boolean>() {
public Boolean apply(ArgumentProcessor processor, Boolean enable) {
processor.config.setDisableGems(!enable);
return true;
}
});
features.put("gems", new Function2<Boolean, ArgumentProcessor, Boolean>() {
public Boolean apply(ArgumentProcessor processor, Boolean enable) {
processor.config.setDisableGems(!enable);
6 changes: 2 additions & 4 deletions test/mri/excludes/TestSyntax.rb
Original file line number Diff line number Diff line change
@@ -12,8 +12,6 @@
exclude :test_integer_suffix, "needs investigation"
exclude :test_invalid_next, "needs investigation"
exclude :test_null_range_cmdarg, "needs investigation"
exclude :test_syntax_ext, "needs investigation #4308"
exclude :test_syntax_lib, "needs investigation #4308"
exclude :test_syntax_sample, "needs investigation #4308"
exclude :test_syntax_test, "needs investigation #4308"



0 comments on commit e01d2b5

Please sign in to comment.