brew update failes because of deletion of system installed Ruby -


brew update failes error

/usr/local/bin/brew: /usr/local/library/brew.rb: /system/library/frameworks/ruby.framework/versions/current/usr/bin/ruby: bad interpreter: no such file or directory /usr/local/bin/brew: line 23: /usr/local/library/brew.rb: undefined error: 0"

i have deleted /system/library/frameworks/ruby.framework bacause of ruby conflicts. know big mistake.

is there way fix issue?

you have reinstall ruby. assuming using mac osx? download os store , install essentials.pkg shown here.

would recommend use rvm.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -