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

It does not start with the following versions:

Open rafa2000 opened this issue 15 years ago • 4 comments

  • ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]

  • sinatra 1.0

  • mojombo-git (1.1.1)

  • haml (3.0.17)

  • rdiscount (1.6.5)

    Error at ./run-ru -sthin -p4567

    ./git-wiki.rb:131: undefined method use_in_file_templates!' for GitWiki::App:Class (NoMethodError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in require' from ./run.ru:2 from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/builder.rb:46:ininstance_eval' from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/builder.rb:46:in initialize' from ./run.ru:1:innew' from ./run.ru:1

rafa2000 avatar Aug 25 '10 19:08 rafa2000

I am trying to install this before one of the more beefy branches out there. But all of them are failing in way or the other, so I thought starting with the original, and easier to install, would be nice. Maybe is a good idea to list the versions of the games that don't broke it. I would appreciate any hints:

:Rafael

rafa2000 avatar Aug 25 '10 19:08 rafa2000

It works with sinatra (0.9.4). Thanks. You may close this issue if you want. I just left it here so people with the same problem can see how to run the code. I don't know if resolved issues go away from view.

:Rafael

rafa2000 avatar Aug 25 '10 20:08 rafa2000

at http://irclogger.com/sinatra/2010-04-24#1272120948: there's no more "use_in_file_templates!" in sinatra 1.0.0, it's "enable :inline_templates" now

guglielmo avatar Sep 14 '10 21:09 guglielmo

I've made a pull request to fix this bug, see https://github.com/sr/git-wiki/issues/3

potomak avatar Nov 05 '10 10:11 potomak