Skip to content
:circus_tent: Ruby China website source code.
Ruby JavaScript HTML CSS CoffeeScript API Blueprint Other
Find file
#632 Compare This branch is 2892 commits ahead, 1183 commits behind rubytaiwan:master.
Latest commit 405f160 May 6, 2016 @huacnlee huacnlee Fix deprecation warnings

Ruby China

This is the source code of Ruby China website.

Build Status Code Climate


  • Ruby 2.3.0 +
  • PostgreSQL 9.4 +
  • Redis 2.8 +
  • Memcached 1.4 +
  • ImageMagick 6.5 +
  • Elasticsearch 2.0 +

Install in development


Install VirtualBox + Vagrant, and then:

$ vagrant up
$ vagrant ssh
$ cd /vagrant
/vagrant $ ./bin/setup
/vagrant $ rails s -b

Open http://localhost:3000 in host.

Mac OS X, use Homebrew

$ brew install memcached redis postgresql imagemagick gs elasticsearch


$ sudo apt-get install memcached postgresql-9.4 redis-server imagemagick ghostscript

Install Elasticsearch

curl -sSL | bash
$ git clone
$ cd ruby-china
$ ./bin/setup
Checking Package Dependencies...
Redis 2.0+                                                                 [Yes]
Memcached 1.4+                                                             [Yes]
ImageMagick 6.5+                                                           [Yes]

Installing dependencies
The Gemfile's dependencies are satisfied

Your Redis host (default:
Your Elasticsearch host (default:

Seed default data...                                                      [Done]

== Removing old logs and tempfiles ==

Ruby China Successfully Installed.

$ rails s


bundle exec rake

About Emoji Asset files

You may see emoji files 404 not found, after you publish you app. Because the emoji not include into Assets Pipline, what reason you can read Issue #522.

You need upload emoji images into /assets/emojis production environment path / CDN path, you can find image here: md_emoji



Forked from Homeland Project Theme from Mediom



Copyright (c) 2011-2016 Ruby China

Released under the MIT license:

Something went wrong with that request. Please try again.