Skip to content

Instantly share code, notes, and snippets.

@stjohnjohnson
Last active September 1, 2015 06:51
Show Gist options
  • Save stjohnjohnson/1a4757ac680e6b614493 to your computer and use it in GitHub Desktop.
Save stjohnjohnson/1a4757ac680e6b614493 to your computer and use it in GitHub Desktop.
2015-09-01 Blog post on stj.me Raw
require 'rack/jekyll'
require 'yaml'
run Rack::Jekyll.new
source 'https://rubygems.org'
ruby '2.2.3'
# JavaScript Exec tool
gem 'therubyracer'
# Jekyll and plugins
gem 'jekyll'
gem 'jekyll-timeago'
gem 'jekyll-gist'
# Markdown renderer
gem 'kramdown'
# Hosting for Heroku
gem 'rack-jekyll', :git => 'https://github.com/adaoraul/rack-jekyll.git'
gem 'puma'
# Makefile support :P
gem 'rake'
web: bundle exec puma -t 8:32 -w 3 -p $PORT
task :local do
system 'bundle exec jekyll serve -w'
end
namespace :assets do
task :precompile do
puts `bundle exec jekyll build`
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment