-
-
Save gwik/5901360 to your computer and use it in GitHub Desktop.
Revisions
-
gwik revised this gist
Jul 1, 2013 . 1 changed file with 6 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,3 @@ sudo port install tk tcl readline apple-gcc42 openssl git clone https://github.com/sstephenson/rbenv.git ~/.rbenv @@ -16,3 +15,9 @@ make install rbenv rehash rbenv global 2.0.0-p247 curl -LO 'rubygems' tar rbenv exec ruby ./setup.rb rbenv exec gem install bundler --no-rdoc --no-ri -
christophemilliere created this gist
Jul 1, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ sudo port install tk tcl readline apple-gcc42 openssl git clone https://github.com/sstephenson/rbenv.git ~/.rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile echo 'eval "$(rbenv init -)"' >> ~/.bash_profile cd ~/.rbenv && mkdir src && cd src curl -LO 'ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz' tar xvzf ruby-2.0.0-p247.tar.gz cd ruby-2.0.0-p247 ./configure --enable-shared --prefix=/Users/devweb/.rbenv/versions/2.0.0-p247 --with-opt-dir=/opt/local make make install rbenv rehash rbenv global 2.0.0-p247