Created
February 24, 2013 17:34
-
-
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
This file contains 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
source 'https://rubygems.org' | |
ruby "2.0.0" | |
gem 'rails', github: 'rails/rails' | |
gem 'arel', github: 'rails/arel' | |
... |
This file contains 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
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 |
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
Note that if you get an error like this:
It's probably because you forgot to do that
rvm pkg install openssl