Ticket #277 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

Won't start under Cygwin

Reported by: hwestiii Assigned to: developer
Priority: normal Milestone:
Component: Instiki Version:
Severity: normal Keywords:
Cc:

Description

I've followed the install directions to the letter ("download .... instiki...") and only encounter errors.

I've installed instiki-0.10.2 running under ruby 1.8.4 on Cygwin/WinXP. This is what I get when I run "./instiki" from the instiki install directory.

$ ./instiki /c/documents and settings/hwest/Desktop/Downloads/instiki-0.10.2/vendor/rails/activesupport/lib/active_support/clean_logger.rb:13:in `remove_const': constant Logger::Format not defined (NameError?)

from /c/documents and settings/hwest/Desktop/Downloads/instiki-0.10.2/vendor/rails/activesupport/lib/active_support/clean_logger.rb:13 from /c/documents and settings/hwest/Desktop/Downloads/instiki-0.10.2/vendor/rails/activesupport/lib/active_support.rb:31 from /c/documents and settings/hwest/Desktop/Downloads/instiki-0.10.2/config/environment.rb:52 from ./script/server:68 from ./instiki:6

My knowledge of ruby is less than rudimentary, so I don't have a clue where to begin...

Change History

01/01/06 13:28:51 changed by hwestiii

Oops. My email address is hwestiii@gmail.com

01/18/06 18:56:56 changed by anonymous

I just want to add that I have this exact same problem with Instiki and Ruby 1.8.4 on FreeBSD. Could it perhaps be a problem with Rails? I have Rails 1.0.0. I don't know what version of ActiveSupport? it uses?

01/24/06 22:07:35 changed by anonymous

  • status changed from new to closed.
  • resolution set to fixed.

And the answer to your question has been found!!!

Seems like since Instiki has rails built in to the package there is a discrepency with it playing nicely with 1.8.4.

There's a simple fix for this. Just replace line 13 of active_support/clean_logger.rb from this:

remove_const "Format"

to this:

remove_const "Format" if const_defined? "Format"

The reason for the error is that the new version of logger.rb that comes in the Ruby 1.8.3 standard library does not include the line:

Format = "%s, [%s#%d] %5s -- %s: %s\n"

The answer via Google News

04/02/07 06:13:00 changed by anonymous

World Of Warcraftwow goldwow goldgold wow aidswow gold salecheap hotelhealth servicescoins and edalsbar code ccdskannerz bar codes wireless bar code readerbuy bar codebar code scanning systemsap bar codewhich barcode scanner should i buy? Aristo Halifaxgod of war unlockable videos A Secret Revealeddiscounts furniturewalleye worm harnessgold of war cheatsworld warcraft power levelingwrought iron stair railingsValerie confectionsmore than words lyricsstudy abroadsuperman tattoowow power levelingrod iron wall decorbuy wow gold staircase ironStar Tattoossuperman tribal tattooHuge Bedding & Bath Discounts wow gold contrastiron gate in california for saleiron gate in california for salereally cheap wow goldatlanta wrought iron doorswow europe Powerlevelingcomputer deskscheap wow gold word listedwrought iron stair railingsileusautomatic gateseurope wow goldpowerlevelingcheap gold for wowcheap american gold coinscalifornia gold rush stories hangingsForeign stuffdiscounts furniture Study Abroad in Japan Call Centerconstipation treadmillsupermanspiderman?3cheap car insurance companycheap female car insuranceairline tickets for cheapcheap air tickets to londoncheap hotelscheap hotel majorcacheap hotels in paphoscheap hotel niagaracheap reno hotelscheap hotels palm springscheap hotel romenew york cheap hotelvoip conference phonemedical insuranceprojector lamphair lossdna testingCEREBRAL PALSYforeign languagetattooshearing aidsreally cheap wow golddiabetes951054007呼叫中心蜘蛛人一号通中国