Friday, June 09, 2006

RubyonRails install on Slackware linux

wget -r -L -c -nd ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.2.tar.gz
tar -xzf ruby-1.8.2.tar.gz

# install ruby
cd ruby-1.8.2
./configure
make
make install

# fix path
# get fastcgi
cd ..
wget -r -L -c -nd http://fastcgi.com/dist/fcgi-2.4.0.tar.gz
tar -xzf fcgi-2.4.0.tar.gz
cd fcgi-2.4.0
./configure
make
make install

# get rubygems and extract
cd ..
wget -r -L -c -nd http://rubyforge.org/frs/download.php/3700/rubygems-0.8.10.tgz
tar -xzf rubygems-0.8.10.tgz
cd rubygems-0.8.10
ruby setup.rb

# install gems & rails
cd ..

gem update --system
gem install fcgi
gem install mysql -- --with-mysql-config
gem install rails --include-dependencies
gem install redcloth bluecloth rubypants syntax

0 Comments:

Post a Comment

<< Home