A Rails clone of GitHub Gist
Ruby JavaScript CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Jist: A Rails clone of GitHub Gist

Install

$ git clone https://github.com/garethrees/jists.git
$ cd jists
$ bundle install
$ rake db:create && rake db:migrate

Choose a directory to store your jists:

# config/development.rb

config.repo_path = "#{Rails.root}/tmp/jists/"
unless File.directory? config.repo_path
  Dir.mkdir(config.repo_path, 0755)
end

You'll probably want your production directory elsewhere and backed up.

Screenshot of garethrees/jists