Warning: Creating default object from empty value in /homepages/39/d161420129/htdocs/p373.net/wp/wp-content/themes/p373b/admin/functions.php on line 183
Ubuntu 10.04, Rvm, and Rails 3.1.3 from scratch

Ubuntu 10.04, Rvm, and Rails 3.1.3 from scratch

Assumptions:(swap these out  in the below notes as you see fit)

  1. database: mysql
  2. scm: bazaar
  3. testing: capybara(has a libqt dependency)

do basic install ubuntu 10.04
do full software update

apt-get install build-essential curl git-core ruby zlib1g-dev libxml2-dev libxslt1-dev emacs mysql-client mysql-server libmysqlclient-dev bzr libqt4-core libqt4-dev

rvm pkg install zlib openssl curl readline
rvm install 1.9.2-p180 --with-zlib-dir=$rvm_path/usr --with-openssl-dir=$rvm_path/usr --with-curl-dir=$rvm_path/usr --with-readline-dir=$rvm_path/usr
rvm use 1.9.2-p180 or rvm --default use1.9.2-p180
gem install bundle
cd work/
bzr co sftp://USER@DOMAIN/home/branch/trunk/
cd trunk
cp config/database.yml.config config/database.yml
edit with relevant db info
bundle install
    This entry was posted in Coding, Ruby/Rails, Technology. Bookmark the permalink. Both comments and trackbacks are currently closed.