Skip to content

Instantly share code, notes, and snippets.

@sonots
Last active December 14, 2015 03:48
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save sonots/5023386 to your computer and use it in GitHub Desktop.
# 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