Skip to content

Instantly share code, notes, and snippets.

@litch
Created February 24, 2013 17:34
Show Gist options
  • Save litch/5024723 to your computer and use it in GitHub Desktop.
Save litch/5024723 to your computer and use it in GitHub Desktop.
Ruby 2.0.0 installation with RVM and running on heroku. RVM instructions sourced from: https://coderwall.com/p/tptocq A quick comparison of Ruby 2.0.0 performance loading rails can be found at my blog: www.superpumpup.com
source 'https://rubygems.org'
ruby "2.0.0"
gem 'rails', github: 'rails/rails'
gem 'arel', github: 'rails/arel'
...
rvm get head
# For Debian-based systems
apt-get install libyaml-dev
# For Mac with Homebrew
brew install libyaml
rvm pkg install openssl
rvm install 2.0.0 \
--with-openssl-dir=$HOME/.rvm/usr \
--verify-downloads 1
rvm use 2.0.0
@litch
Copy link
Author

litch commented Feb 26, 2013

And also note that when I did rvm get stable instead of pre, rvm installed openssl version 1.0.1c, which did not work with ruby2. So I had to redo it with the pre'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment