diff --git a/Formula/aspell.rb b/Formula/aspell.rb index 27fb7fdf6b..dedf0679cd 100644 --- a/Formula/aspell.rb +++ b/Formula/aspell.rb @@ -490,12 +490,12 @@ class Aspell < Formula languages = [] - available_languages.each do |lang| + aspell_available_languages.each do |lang| languages << lang if build.with? "lang-#{lang}" end if build.include? 'all' - languages << available_languages.to_a + languages << aspell_available_languages.to_a elsif languages.empty? languages << "en" end