Saturday, June 7th, 2008
Sometimes people don't know how to start learn ruby programming and still searching which book are suitable to them as a beginner. So I'm also as a beginner in ruby and rails programming, will suggest people to get Mr. Neighborly's Humble Little Ruby Book as a reference to get start ...
Posted in Ruby On Rails | No Comments »
Saturday, May 24th, 2008
1. Install Xcode 3.0 or newer
2. Make the following entries exist in /etc/profile
export RC_ARCHS=i386
export DYLD_LIBRARY_PATH=”/usr/local/oracle/instantclient”
export SQLPATH=”/usr/local/oracle/instantclient”
export PATH=”/usr/local/oracle/instantclient:$PATH”
3. Create folders
sudo mkdir -p /usr/local/src
sudo chgrp admin /usr/local/src
sudo chmod -R 775 /usr/local/src
cd /usr/local/src
4. Get Ruby (note: check what the current stable version is)
curl -O ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p111.tar.gz
tar xzvf ruby-1.8.6-p111.tar.gz
cd ruby-1.8.6-p111
./configure --enable-shared --enable-pthread CFLAGS=-D_XOPEN_SOURCE=1
make
sudo make install
cd ...
Posted in Ruby On Rails | No Comments »