Showing posts with label ruby. Show all posts
Showing posts with label ruby. Show all posts

Tuesday, October 25, 2011

Install RVM and Ruby



rvm, virutualenv

Remove ubuntu's ruby-rvm

sudo apt-get --purge ruby-rvm

Install 

curl -L https://get.rvm.io | bash -s stable
rvm list known
rvm install 1.9.3-head

Configuration (.bashrc)

 PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
source /home/victor.yang/.rvm/scripts/rvm




Install sproutcore

 Ubuntu 11.10

Step 1 has be done before step 2, otherwise the ruby will complain about "zlib not installed"

  1. apt-get install zlib1g-dev libssl-dev libreadline5-dev libxml2-dev libsqlite3-dev
  2. Follow steps in install sproutcore on linux