Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

[ERROR] brew mk [url] : undefined local variable or method `prefix' for main:Object #24

Closed
squarelover opened this issue Aug 31, 2009 · 2 comments

Comments

@squarelover
Copy link
Contributor

I get the following error when attempting to use the command:

brew mk http://rubyforge.org/frs/download.php/31654/fastri-0.3.1.tar.gz

==> Error: Homebrew has failed you :(
Please report this bug at: http://bit.ly/Homebrew
Please include this backtrace:
==> #<NameError: undefined local variable or method `prefix' for main:Object>
/usr/local/Library/Homebrew/brew.h.rb:48:in `make'
/usr/local/bin/brew:137
/usr/local/bin/brew:137:in `collect'
/usr/local/bin/brew:137

Looking at the sourcefile, it seems fairly obvious that there is no prefix variable set or declared in that scope. New to brew, so I'm not certain if this gets set somewhere else.

@mxcl
Copy link
Contributor

mxcl commented Aug 31, 2009

Yeah I managed to break this. I need a test for the make process. git pull for fix.

Closed by: 491cd8f

@squarelover
Copy link
Contributor Author

Latest pull fixed this, thanks.

ClashTheBunny pushed a commit to ClashTheBunny/homebrew that referenced this issue Jan 22, 2015
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants