Skip to content

Instantly share code, notes, and snippets.

@jraregris
Created August 13, 2012 16:39
Show Gist options
  • Save jraregris/3342409 to your computer and use it in GitHub Desktop.
Save jraregris/3342409 to your computer and use it in GitHub Desktop.
➜ ~ git clone git://github.com/sstephenson/rbenv.git .rbenv
Cloning into '.rbenv'...
remote: Counting objects: 1040, done.
remote: Compressing objects: 100% (418/418), done.
remote: Total 1040 (delta 649), reused 961 (delta 594)
Receiving objects: 100% (1040/1040), 138.42 KiB, done.
Resolving deltas: 100% (649/649), done.
➜ ~ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshenv
➜ ~ echo 'eval "$(rbenv init -)"' >> ~/.zshenv
➜ ~ echo 'eval "$(rbenv init -)"' >> ~/.zshenv
➜ ~ mkdir -p ~/.rbenv/plugins
➜ ~ cd ~/.rbenv/plugins
➜ plugins git:(master) git clone git://github.com/sstephenson/ruby-build.git
Cloning into 'ruby-build'...
remote: Counting objects: 949, done.
remote: Compressing objects: 100% (443/443), done.
remote: Total 949 (delta 466), reused 865 (delta 390)
Receiving objects: 100% (949/949), 101.01 KiB, done.
Resolving deltas: 100% (466/466), done.
-- restarted zsh, and sourced .zshenv --
➜ ~ rbenv rehash
➜ ~ rbenv install 1.9.3-p194
Downloading http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz...
Installing yaml-0.1.4...
Installed yaml-0.1.4 to /home/oddmunds/.rbenv/versions/1.9.3-p194
Downloading http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz...
Installing ruby-1.9.3-p194...
Installed ruby-1.9.3-p194 to /home/oddmunds/.rbenv/versions/1.9.3-p194
➜ ~ rbenv rehash
➜ ~ gem install pry
zsh: correct 'gem' to 'gm' [nyae]? n
Fetching: coderay-1.0.7.gem (100%)
Fetching: slop-3.3.2.gem (100%)
Fetching: method_source-0.8.gem (100%)
Fetching: pry-0.9.10.gem (100%)
Successfully installed coderay-1.0.7
Successfully installed slop-3.3.2
Successfully installed method_source-0.8
Successfully installed pry-0.9.10
4 gems installed
Installing ri documentation for coderay-1.0.7...
Installing ri documentation for slop-3.3.2...
Installing ri documentation for method_source-0.8...
Installing ri documentation for pry-0.9.10...
Installing RDoc documentation for coderay-1.0.7...
Installing RDoc documentation for slop-3.3.2...
Installing RDoc documentation for method_source-0.8...
Installing RDoc documentation for pry-0.9.10...
➜ ~ rbenv rehash
➜ ~ pry
zsh: correct 'pry' to 'pr' [nyae]? n
zsh: command not found: pry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment