Ambiente de desenvolvimento Rails usando rbenv + ruby-build + bundler

Certifique-se de que removeu o rvm, porque o rbenv está em conflito com o rvm:
bash $ rm -rf ~/.rvm ~/.rvmrc

Instale rbenv + ruby-build
bash $ brew install rbenv ruby-build

Instalar Ruby
Lista de rubys disponíveis através derbenv install --list
bash $ brew install openssl && CONFIGURE_OPTS="--with-openssl-dir=`brew --prefix openssl`" && rbenv install 2.0.0-dev

Definir ruby ​​instalado globalmente
bash $ rbenv global 2.0.0-dev

Instale o bundler
bash $ gem install bundler && rbenv rehash

Lembre-se de executar novamente rbenv rehashapós a instalação de gems que possuem binários

Criar gemset usando bundler
bash $ mkdir ror_proj $ cd ror_proj $ echo "gem 'rails'" > Gemfile $ mkdir -p vendor/bundle $ bundle install --path vendor/bundle

Crie alguns apelidos
bash $ echo 'alias bi="bundle install --path vendor/bundle"' >> ~/.bash_profile $ echo 'alias begem="bundle exec gem"' >> ~/.bash_profile $ echo 'alias berake="bundle exec rake"' >> ~/.bash_profile $ echo 'alias berails="bundle exec rails"' >> ~/.bash_profile $ echo 'alias becap="bundle exec cap"' >> ~/.bash_profile

Criar aplicativo Rails
bash $ cd .. && berails ror_proj --gemfile=ror_proj/Gemfile

Iniciar aplicativo criado
$ cd ror_proj && berails server