I couldn't do something with Ruby, so I decided to remove everything about Ruby *(even default osx ruby, which means `ruby -v` says ruby command not found)* and start from scratch. Now I even can't install Ruby, and Google doesn't help me.

**What I've got now:** Installed RVM.

**What I want:** Install ruby with `rvm install 2.1.1`

**Problem:** `rvm install 2.1.1` throw the next error 

```
Error running 'requirements_osx_brew_update_system ruby-2.1.1',
showing last 15 lines of /Users/volodymyr/.rvm/log/1410282497_ruby-2.1.1/update_system.log
    https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.'
++ rvm_pretty_print stderr
++ case "${rvm_pretty_print_flag:=auto}" in
++ case "${TERM:-dumb}" in
++ case "$1" in
++ [[ -t 2 ]]
++ return 1
++ printf %b 'Failed to update Homebrew, follow instructions here:
    https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.\n'
Failed to update Homebrew, follow instructions here:
    https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.
++ return 1
Requirements installation failed with status: 1.

```

**I think important:** when I do `sudo brew update` I get

```
/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

```