Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (22 sloc) 1.6 KB

By Ryan Daigle and many other contributors is a community site for keeping up with the latest features, changes and additions to the Ruby on Rails framework. What is contained in this repository is the source to the site (live at that can be generated with Jekyll.

How to Make an Article Contribution

Install Source & Jekyll

  • Checkout the source: git clone
  • Install python & pygments syntax highlighter:
    • brew install python pip
    • pip install pygments
    • cd /usr/local/bin/ && ln -s ../Cellar/python/2.7/bin/pygmentize
  • Install dependencies: bundle install
  • Make sure you can generate the site: bundle exec rake generate

Write Article

  • Create new article template in the source/_posts directory: bundle exec rake post[‘my new post title’]
  • Use existing articles as guide for proper CSS etc… and write your article

Regenerate the Site

To ensure your article is being generated properly you will need to regenerate the site (perhaps several times)

  • Run: bundle exec rake generate
  • To view the site in the browser: bundle exec rake preview

The site takes a VERY long time to regenerate given the number of articles. To reduce this when working on only a single article you can isolate the article you’re working on (which will move all other articles to a temp directory).

  • To isolate a single article run: bundle exec rake isolate[‘my new post title’]
  • When you’re done editing the article and regenerating (but before committing), move the existing articles back into place: bundle exec rake integrate