Saya menemukan solusi saya dan ini dia:
Langkah 1:Bersihkan rvm dan Xcode yang Anda instal sebelumnya
=> rm -rf ~/.rvm
=> sudo rm -rf /Developer
Langkah 2:Instal Xcode dari App Store atau penginstal mungkin disimpan di Launchpad Anda.
Langkah 3:Instal HomeBrew:
=> mkdir -p /usr/local/Cellar
=> /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
Langkah 4:Instal RVM
=> bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
=> echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile
Langkah 5:Instal Ruby 1.9.2
=> rvm install 1.9.2
=> rvm use ruby-1.9.2 --default
=> gem install rails thin bundler
=> rvm install 1.9.2-head
=> brew install git ack wget curl redis memcached libmemcached colordiff imagemagick
Langkah 6:Instal MySql
=> brew install mysql
=> mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
=> mkdir -p ~/Library/LaunchAgents
=> cp /usr/local/Cellar/mysql/5.5.15/com.mysql.mysqld.plist ~/Library/LaunchAgents/
=> launchctl load -w ~/Library/LaunchAgents/com.mysql.mysqld.plist
=> mysql -u root
=> UPDATE mysql.user SET Password=PASSWORD('password') WHERE User='root';
=> FLUSH PRIVILEGES;