Thinking in XiaoQiang
世人皆有悲哀,只有你不明白
posts - 56,comments - 150,trackbacks - 0
转自:http://blog.rubypdf.com/2006/10/20/install-ruby-on-rails-lighttpdsqlite3-and-mongrel-under-ubuntu/

nothing but the script I used:
#install Mysql
apt-get install mysql-server

#install Ruby and relative
apt-get install irb libdbm-ruby1.8 libgdbm-ruby1.8 libmysql-ruby1.8 libmysqlclient14 libopenssl-ruby1.8 libruby1.8-dbg mysql-common ri ri1.8 ruby1.8-dev

#install rubygems
wget http://rubyforge.org/frs/download.php/11289/rubygems-0.9.0.tgz
tar zxfv rubygems-0.9.0.tgz
cd rubygems-0.9.0
ruby setup.rb
gem update –system

#install Rails and dependencies
gem install rails –include-dependencies

#before install Mongrel,
apt-get install install build-essential #we need it to compile mongrel and Sqlite3

#intall Mongrel
gem install mongrel –include-dependencies

#install Sqlite3
apt-get install sqlite3 swig libsqlite3-ruby libsqlite3-dev
gem install sqlite3-ruby #compile this need libsqlite.h

#install Lighttpd
apt-get install lighttpd

some useful link
http://mongrel.rubyforge.org/docs/lighttpd.html
http://fo64.com/articles/2005/10/20/rails-on-breezy
http://scottstuff.net/blog/articles/2006/07/23/typo-installer

posted on 2006-10-30 17:09 小强 阅读(1048) 评论(2)  编辑  收藏 所属分类: ruby

FeedBack:
# re: Install Ruby on Rails , Lighttpd,Sqlite3 and Mongrel under Ubuntu
2007-07-30 23:21 | 红马天下
真不错,一直装不上sqlite3-ruby,终于搞定了  回复  更多评论
  
# re: Install Ruby on Rails , Lighttpd,Sqlite3 and Mongrel under Ubuntu
2007-10-15 20:31 | jiang
nice post, I also had the sqlite3 problem, now it's gone, thanks  回复  更多评论
  

只有注册用户登录后才能发表评论。


网站导航: