git-wiki icon indicating copy to clipboard operation
git-wiki copied to clipboard

git-wiki error: undefined method `header' for #<Sinatra::Application

Open ferriswheel opened this issue 14 years ago • 1 comments

hello Tijn,

i have just installed your fork of git-wiki.

when i click on the export link in the menu i got this

application error NoMethodError at /a/tarball undefined method `header' for #Sinatra::Application:0x99b51f0

file: git-wiki.rb location: block in

line: 82

'header' methods is missing. is this fork working? i choose it because it was the most recent according to the github network graph.

regards

john

ferriswheel avatar Oct 17 '11 03:10 ferriswheel

Hi John,

Heh, I actually never used the export function myself. I can assure you that this fork is in a working state. (I am using it almost daily for personal notekeeping.) I don't think much else is broken.

My fork is diverging a lot from other forks already:

  • I cleaned up some classes, tried to go to a really pure system. (I might have disabled attachments, not sure.)
  • I changes all templates to use very little elements, all new html5 stuff.
  • I use updated or different gems for more extensive markdown-support. (a.o. tables)
  • a part of the menubar is kept in the wiki itself
  • the css can be overriden using the wiki

So.. as you can see, it is quite different from when I forked it. In the future I want to play with a backbone.js interface. I don't know if these things suit you, it'd be great to have another user besides just me :-D

Otherwise, I advice you to look at al3x/git-wiki. I forked it from him.

Kind regards, Tijn

tijn avatar Oct 17 '11 20:10 tijn