Skip to content

Instantly share code, notes, and snippets.

@jeffsebring
Created February 16, 2012 06:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeffsebring/1842655 to your computer and use it in GitHub Desktop.
Save jeffsebring/1842655 to your computer and use it in GitHub Desktop.
Ubuntu 11.10 install ROR
sudo apt-get install unzip curl aptitude
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
source ~/.profile
#rvm tools rvm-env ruby bash
# if .bashrc is exist, copy rvm init script in .bashrc
sudo apt-get update
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev \
curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev \
libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev \
autoconf libc6-dev ncurses-dev automake libtool bison g++ nodejs
rvm install 1.9.2
# rvm install 1.9.3
rvm 1.9.2 --default
# gedit ~/.gemrc
# add: gem: --no-ri --no-rdoc
# install rails
gem install rails
# install gvim
sudo apt-get install vim-gnome gtk2-engines-pixbuf exuberant-ctags
# fix gvim problem in ubuntu 11.10
echo 'alias gvim="gvim -f"' >> ~/.bashrc
source ~/.bashrc
curl -Lo- http://bit.ly/janus-bootstrap | bash
# install Inconsolata font
# put in /usr/share/fonts/truetype
sudo fs-cache -fv
# edit .gvimrc, set guifont=Inconsolata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment