Closed davidwoodcock closed 1 year ago
In your Brewfile
, what does the line with macosvpn
look like?
It should be like this:
# Correct: We call the method `brew` and pass in the string `"macosvpn"`.
brew "macosvpn"
and not like this:
# Wrong: We call the method `brew` and also call an unknown command `macosvpn`.
brew macosvpn
The Brewfile
is written in Ruby. And brew
is a command inside your Brewfile. The word "macosvpn" would have to be a string (in quotation marks). If you call macosvpn
as a command, you would get an "undefined local variable" error.
# Also correct: this is another way of writing it, for clarification
brew("macosvpn")
I'll close this for now, since it is more related to brew internals, rather than this app. Feel free to open it again if you would like to provide more information.
When trying to use brew "macosvpn" in my brewfile i get an error. I can install by using brew install macosvpn, but cant figure out why I get a "Error: Invalid Brewfile: undefined local variable or method `“macsosvpn”' Any thoughts?