Gurobi on Julia 1.4

It’s very odd as it works just fine on Julia 1.3.
Can you let me know how to set an environment variable?

Gurobi installation location: /Library/gurobi902/

julia> using Libdl

julia> Libdl.dlopen("libgurobi90.dylib")
ERROR: could not load library "libgurobi90.dylib"
dlopen(libgurobi90.dylib, 1): image not found
Stacktrace:
 [1] dlopen(::String, ::UInt32; throw_error::Bool) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/Libdl/src/Libdl.jl:109
 [2] dlopen at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/Libdl/src/Libdl.jl:109 [inlined] (repeats 2 times)
 [3] top-level scope at REPL[10]:1