Skip to content

Instantly share code, notes, and snippets.

@ticktricktrack
Last active August 29, 2015 14:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ticktricktrack/05a6b5fb76aa591eea66 to your computer and use it in GitHub Desktop.
Save ticktricktrack/05a6b5fb76aa591eea66 to your computer and use it in GitHub Desktop.
Ruby on Ubuntu Installation
# general dependencies
sudo apte-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties
# git
sudo apt-get install curl git-core bash-completion
# rbenv in one go
curl https://raw.githubusercontent.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash
# bashrc + rbenv
# To install Sublime Text 3 Beta:
sudo add-apt-repository -y ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
# sqlite
sudo apt-get install sqlite3 libsqlite3-dev
# nodejs
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
# ruby
rbenv install -l
rbenv install 2.2.0
rbenv global 2.2.0
# for Athena
rbenv install 2.0.0-p195
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
dc = diff --cached
lg = log -p
who = shortlog -s --
unadd = reset HEAD
[user]
name = Rainer Kuhn
email = ticktricktrack@gmail.com
[core]
#excludesfile = /Users/rainer/.gitignore_global
#editor = subl
[color]
ui = true
[push]
default = current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment