Fix undefined method 'ohai'
This commit is contained in:
parent
9219495eb0
commit
12920cf96c
@ -13,6 +13,7 @@ require "development_tools"
|
|||||||
module SharedEnvExtension
|
module SharedEnvExtension
|
||||||
extend T::Helpers
|
extend T::Helpers
|
||||||
include CompilerConstants
|
include CompilerConstants
|
||||||
|
include Utils::Output::Mixin
|
||||||
|
|
||||||
requires_ancestor { Sorbet::Private::Static::ENVClass }
|
requires_ancestor { Sorbet::Private::Static::ENVClass }
|
||||||
|
|
||||||
@ -258,7 +259,7 @@ module SharedEnvExtension
|
|||||||
flags = []
|
flags = []
|
||||||
|
|
||||||
if fc
|
if fc
|
||||||
ohai "Building with an alternative Fortran compiler", "This is unsupported."
|
opoo "Building with an unsupported Fortran compiler"
|
||||||
self["F77"] ||= fc
|
self["F77"] ||= fc
|
||||||
else
|
else
|
||||||
if (gfortran = which("gfortran", (HOMEBREW_PREFIX/"bin").to_s))
|
if (gfortran = which("gfortran", (HOMEBREW_PREFIX/"bin").to_s))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user