原创 libxslt is missing. try ‘port install libxslt’ or ‘yum install libxslt-devel’

sudo apt-get install libxslt1-dev libxml2-dev

原创 rails deploy nginx mongrel

Ruby on rails推薦的生產運行環境是Linux/FreeBSD/Unix,即Unix系列的操作系統,採用nginx+mongrel的解決方案。在網上參考了N篇文章和經過2天的實驗後,我終於搭建成功

原创 在 Linux 上構建 Web spider

介紹了linux上的spider , 用ruby , python編寫。[url]http://www.ibm.com/developerworks/cn/linux/l-spider/[/url]

原创 ERROR: Failed to build gem native extension.

ubuntu下安裝mechanize:sudo gem install mechanize報如下錯誤:Building native extensions. This could take a while

原创 Manually Install Thunderbird 2 : Ubuntu 9.04

1. Download Thunderbird 2. (Save to disk) 2. sudo tar -C /opt -zxvf ~/Desktop/thunderbird-* 3. sudo ln -s /opt/t

原创 11 Things to Consider Before Deploying Your Rails Application

from: [url]http://vinsol.com/blog[/url]At VinSol, we have been developing and deploying Rails applicati

原创 Friends For Sale

官方命名:  Friends For Sale!  中文譯名:  好友買賣  朋友買賣    在朋友買賣插件出現的短短三個月時間內,朋友買賣成爲facebook前十名的應用,它每秒鐘處理200個請求,每月產

原创 undefined method `configuration' for Rails:Module (NoMethodError)

使用cucumber包如下錯誤:undefined method `configuration' for Rails:Module (NoMethodError)C:/software/InstantRai

原创 no such file to load -- nokogiri (LoadError)

require 'nokogiri' require 'open-uri' # Get a Nokogiri::HTML:Document for the page we’re interested in... doc = No

原创 Argument count mismatch on mx.core::CrossDomainRSLItem(). Expected 5, got 6.

某次開發中用了RSL,包如下錯誤:ArgumentError: Error #1063: Argument count mismatch on mx.core::CrossDomainRSLItem().

原创 利用Mongrel cluster和Apache搭建Rails服務器

Set mongrel cluster and apache for myShareBook.cn1. Insall mongrel2. Install apache3. Create file in ap