Skip to content

Instantly share code, notes, and snippets.

@cfurrow
Created November 24, 2010 14:40
Show Gist options
  • Save cfurrow/713749 to your computer and use it in GitHub Desktop.
Save cfurrow/713749 to your computer and use it in GitHub Desktop.
config.yml
# If in production, (i.e. on Dreamhost) set the GEM_PATH to my local
# home directory, and not use the Dreamhost server's GEM_PATH
if( ENV['RACK_ENV'] == 'production' )
ENV['GEM_PATH'] = "/home/cfurrow/.gems"
Gem.clear_paths
end
require "rack"
require "rubygems"
require "sinatra"
require "./app"
run Nesta::App
title: "CarlFurrow.com"
subtitle: ""
author:
name: Carl Furrow
uri: http://carlfurrow.com
# email: [email protected]
cache: false
content: content
production:
cache: true
content: PATH_TO_YOUR_CONTENT_FOLDER #=> e.g. /home/username/nesta/content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment