Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

homebrew doesn't work after switching to rbenv #58

Closed
tnachen opened this issue Aug 23, 2011 · 2 comments
Closed

homebrew doesn't work after switching to rbenv #58

tnachen opened this issue Aug 23, 2011 · 2 comments

Comments

@tnachen
Copy link

tnachen commented Aug 23, 2011

I keep getting this after switching from rvm to rbenv:

/usr/local/bin/brew: line 4: syntax error near unexpected token (' /usr/local/bin/brew: line 4:HOMEBREW_BREW_FILE = ENV['HOMEBREW_BREW_FILE'] = File.expand_path(FILE)'

I made sure there is only one ruby version installed:

which -a ruby
/Users/tim/.rbenv/shims/ruby

@tnachen
Copy link
Author

tnachen commented Aug 23, 2011

Just ignore this then, I just fixed the shebang path from /usr/bin/ruby to /usr/bin/env ruby

@tnachen tnachen closed this as completed Aug 23, 2011
@wikimatze
Copy link

Puh, had the same issue, now it is working, thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants