Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
if [ -f "$rvm_path/scripts/rvm" ] && [ -f ".ruby-version" ] && [ -f ".ruby-gemset" ]; then
source "$rvm_path/scripts/rvm"
rvm use `cat .ruby-version`@`cat .ruby-gemset`
require 'rubygems'
require 'gollum/app'
system("which git") or raise "Looks like I can't find the git CLI in your path.\nYour path is: #{ENV['PATH']}"
gollum_path = '/Users/ouyang/dev/github/ouyang/wiki'
disable :run
configure :development, :staging, :production do
set :raise_errors, true
set :show_exceptions, true
set :dump_errors, true
set :clean_trace, true
$path = gollum_path
Precious::App.set(:gollum_path, gollum_path)
Precious::App.set(:wiki_options, {})
run Precious::App
# Create a Gemfile with the following:
source ""
#gem 'redcarpet', '1.17.2'
gem 'redcarpet'
gem "grit", '~> 2.5.0', git: '', ref: '42297cdcee16284d2e4eff23d41377f52fc28b9d'
gem 'gollum',git: ''
gem 'gollum-site'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.