安装pygments
sudo apt-get install python-pygments
安装mongodb
ubuntu中:
apt-get update
sudo apt-get install mongodb-clients
sudo apt-get install mongodb-server
mongod
安装memcached
sudo apt-get install memcached
安装redis
cd /tmp
wget http://redis.googlecode.com/files/redis-2.6.0-rc8.tar.gz
tar xvzf redis-2.6.0-rc8.tar.gz
进入目录测试
make test
缺少 tclsh8.5,进行安装,命令如下:
sudo apt-get install tcl8.5
sudo make install
启动redis:
redis-server
检查redis是否正常工作
执行ping命令:
redis-cli ping
返回PONG,成功。
redis正常工作
启动
git clone git://github.com/ruby-china/ruby-china.git cd ruby-china ruby setup.rb rails s
看看效果吧!
![](https://img-my.csdn.net/uploads/201210/22/1350877323_4002.png)