Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

EdgeRails.info site source

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.textile

EdgeRails.info

By Ryan Daigle and many other contributors

EdgeRails.info 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 http://edgerails.info) that can be generated with Jekyll.

How to Make an Article Contribution

Install Source & Jekyll

  • Checkout the source: git clone git@github.com:rwdaigle/edgerails.git
  • 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
Something went wrong with that request. Please try again.