Tag: Homebrew/ebenv
brew install rbenv
brew install ruby-build
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
# To use Homebrew's directories rather than ~/.rbenv add to your profile: # export RBENV_ROOT=/usr/local/var/rbenv
brew install openssl brew install readline
RUBY_CONFIGURE_OPTS="--with-readline-dir=`brew --prefix readline` --with-openssl-dir=`brew --prefix openssl`" rbenv install 2.0.0-p0
RUBY_CONFIGURE_OPTS="--with-readline-dir=`brew --prefix readline` --with-openssl-dir=`brew --prefix openssl`" rbenv install 1.9.3-p392
gem install passenger
LoadModule passenger_module /Users/ユーザー名/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/passenger-3.0.19/ext/apache2/mod_passenger.so PassengerRoot /Users/ユーザー名/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/passenger-3.0.19 PassengerRuby /Users/ユーザー名/.rbenv/versions/1.9.3-p392/bin/ruby