Dependencies:
sudo apt-get install ruby railsUse:
curl -L http://git.io/locale_merge.rb | ruby - en.yml pt.yml > new-pt.yml| #!/usr/bin/env ruby | |
| require 'json' # gem install json # also: activesupport (~> 2.3.18) | |
| require 'rubygems' # gem install rubygems | |
| require 'friendly' # gem install ihoka-friendly | |
| Friendly.configure({ | |
| :adapter => "sqlite", | |
| :database => "database.sqlite3" | |
| }) |
| require 'tmpdir' | |
| # Usage: | |
| # add to ruhoh-site/plugins/publish/github.rb | |
| # - Your GitHub remote must be setup properly but The command will try to walk you through it. | |
| # - You must have a clean working directory to publish to GitHub pages since the hook is actually triggered by commits. | |
| # | |
| # $ cd ruhoh-site | |
| # $ bundle exec ruhoh publish github | |
| class Ruhoh |
Obs.: isto é um fork de gladson/config.md e suas instruções não foram testadas.
Um pouco de texto explicativo complementar: