aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2016-01-01 19:35:30 -0400
committerMisty De Meo2016-01-01 20:10:34 -0400
commit575b75fced18ef98f110db0bf8efb1f6561049db (patch)
tree77803f1adcfe9dd6902984b8c49eb8a4bfcaf4b2 /Library
parentaa1461b7d67e5c0f0f37420c8168b38f9784e28f (diff)
downloadbrew-575b75fced18ef98f110db0bf8efb1f6561049db.tar.bz2
LanguageModuleRequirement: remove jruby support
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/dependency_collector.rb2
-rw-r--r--Library/Homebrew/requirements/language_module_requirement.rb4
2 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/dependency_collector.rb b/Library/Homebrew/dependency_collector.rb
index 94b76fd8f..cb45c2f49 100644
--- a/Library/Homebrew/dependency_collector.rb
+++ b/Library/Homebrew/dependency_collector.rb
@@ -18,7 +18,7 @@ require "set"
class DependencyCollector
# Define the languages that we can handle as external dependencies.
LANGUAGE_MODULES = Set[
- :jruby, :lua, :perl, :python, :python3, :ruby
+ :lua, :perl, :python, :python3, :ruby
].freeze
CACHE = {}
diff --git a/Library/Homebrew/requirements/language_module_requirement.rb b/Library/Homebrew/requirements/language_module_requirement.rb
index 799204b95..6985fd2a7 100644
--- a/Library/Homebrew/requirements/language_module_requirement.rb
+++ b/Library/Homebrew/requirements/language_module_requirement.rb
@@ -21,10 +21,8 @@ class LanguageModuleRequirement < Requirement
def the_test
case @language
- when :jruby then %W[/usr/bin/env jruby -rubygems -e require\ '#{@import_name}']
when :lua then %W[/usr/bin/env luarocks-5.2 show #{@import_name}]
when :lua51 then %W[/usr/bin/env luarocks-5.1 show #{@import_name}]
- when :ocaml then %W[/usr/bin/env opam list --installed #{@import_name}]
when :perl then %W[/usr/bin/env perl -e use\ #{@import_name}]
when :python then %W[/usr/bin/env python -c import\ #{@import_name}]
when :python3 then %W[/usr/bin/env python3 -c import\ #{@import_name}]
@@ -34,10 +32,8 @@ class LanguageModuleRequirement < Requirement
def command_line
case @language
- when :jruby then "jruby -S gem install"
when :lua then "luarocks-5.2 install"
when :lua51 then "luarocks-5.1 install"
- when :ocaml then "opam install"
when :perl then "cpan -i"
when :python then "pip install"
when :python3 then "pip3 install"