Last active
December 14, 2015 03:48
-
-
Save sonots/5023386 to your computer and use it in GitHub Desktop.
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 characters
# Preparation: assume rbenv and ruby-build is already installed. | |
curl https://raw.github.com/hsbt/ruby-build/3c94f7f696d51d96223ce64d3760d25d3b6a0b68/share/ruby-build/2.0.0-p0 -o ~/.rbenv/plugins/ruby-build/share/ruby-build/2.0.0-p0 | |
rbenv install 2.0.0-p0 | |
rbenv local 2.0.0-p0 | |
rbenv rehash | |
# bundler must be 1.3.x for 2.0.0 | |
gem install bundler --version 1.3.0.pre.8 | |
# http://railsapps.github.com/openssl-certificate-verify-failed.html | |
wget http://curl.haxx.se/ca/cacert.pem -O /usr/local/etc/openssl/certs/cert.pem | |
export SSL_CERT_FILE=/usr/local/etc/openssl/certs/cert.pem | |
# vi Gemfile and removed 'debugger' gem (does not work on 2.0.0 yet) | |
# vi Gemfile and change `source :rubygems` to `source 'https://rubygems.org'` because of *that* problem happend for rubygems. | |
bundle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment