Skip to content

Instantly share code, notes, and snippets.

@Johnytran
Johnytran / gist:50db742daf27bbae49dfd1263b237910
Created June 12, 2016 04:17 — forked from Steven-Rose/gist:3943830
VI: Select all + delete, select all + copy
Select all and delete (actually move to buffer)
:%d
Select all and copy to buffer
:%y
Use p to paste the buffer.
# .ruby-gemset
projectname
# .ruby-version
ruby-2.1.2
# Gemfile
source 'https://rubygems.org'
cd ..
@Johnytran
Johnytran / RVM.md
Last active August 29, 2015 14:08 — forked from jamesfwz/RVM.md

Installing RVM

# install RVM
curl -L https://get.rvm.io | bash -s stable

# runs RVM
source /etc/profile.d/rvm.sh

# Setups required files for RVM