Recent Posts
posted 10 years ago
xabier
10 posts
|
Forum: Instiki – Topic: installation problems (mac osx lion) Up and running again… Awesome! Thank you so much |
posted 10 years ago
distler
123 posts
edited 10 years ago |
Forum: Instiki – Topic: installation problems (mac osx lion) Well, that was fun… I think I have instiki now running successfully on
It was quite a juggling act getting it to work on all three. But I think I’ve succeeded. Let me know if you encounter further problems. (In an attempt to eat my own dogfood, I have switched this forum and the copy of Instiki running on Golem, to run under Ruby 2.0.0.) |
posted 10 years ago
xabier
10 posts
|
Forum: Instiki – Topic: installation problems (mac osx lion)
I’m running into the same error with Ruby 1.9.3-p448 and the development version of instiki. |
posted 10 years ago
xabier
10 posts
edited 10 years ago |
Forum: Instiki – Topic: installation problems (mac osx lion)
I did! That output is from a few hours ago :) I’ll try with 1.9.x and post the results. |
posted 10 years ago
distler
123 posts
edited 10 years ago |
Forum: Instiki – Topic: installation problems (mac osx lion)
Please try again. The relevant feature of the development version is that it changes.
Oh! I haven’t tested Instiki on Ruby 2.0. Works fine on 1.9.x, but there may be issues with 2.0. |
posted 10 years ago
xabier
10 posts
|
Forum: Instiki – Topic: installation problems (mac osx lion) Thank you Jacques! I actually had tried the development version, too, but I didn’t remember the outcome -only that it didn’t work either. In this case the bundle gets installed (only I was prompted to update Ruby when I first tried to run the bundler; which I did; my current version is 2.0.0). But when I tried to run instiki I got this: |
posted 10 years ago
distler
123 posts
|
Forum: Instiki – Topic: installation problems (mac osx lion) Thanks for the bug report. The latest development version ( .tar.gz, bzr or git) should fix this problem. |
posted 10 years ago
xabier
10 posts
edited 10 years ago |
Forum: Instiki – Topic: installation problems (mac osx lion) Hi, I’m running into problems when trying to install Instiki on my Mac (OS X Lion). Ruby version seems to be 1.8.7. A previous version of Instiki (I think it was 0.19.4) worked fine. This problem appeared when I re-installed the developer tools from the App Store, but this might as well be a coincidence. I’m trying the three last versions and in every case I get this output when I try to run
Any ideas? Many thanks! |
posted almost 11 years ago
Andrew Stacey
118 posts
|
With the above changes, then
|
posted almost 11 years ago
Andrew Stacey
118 posts
|
I’ve put those changes in place and will keep an eye on what happens. Incidentally, when manually clearing out the cache I note that |
posted almost 11 years ago
distler
123 posts
|
Since I’ve not had much success reproducing your bug, why don’t we see whether implementing your suggestion fixes it for you? Apply the following patch:
|
posted almost 11 years ago
Andrew Stacey
118 posts
|
Spoke too soon. The cache bug is not dead. I shoved in a load of Anyway, what I found was interesting. I got different behaviour depending on whether I was creating a new revision or updating an old one (to switch between the two I used two author strings). Here’s the “same author” sequence of events:
As I said above, only the But here’s what happens when I change the author name to force a new revision:
Notice that the With this sequence then the Looking at the two different sequences of events, it would seem that the safest place to sweep the cache is when Of course, my analysis may well be incorrect as instiki (well, ruby-on-rails) is very much a black box to me so I have no idea as to what’s going on under the bonnet. Incidentally, the above was carried out using sqlite as the database, but I got the same results with mysql with the updated gem. |
posted almost 11 years ago
distler
123 posts
|
Might as well assume that
Correct. If you don’t specify a version, then any version is supposed to suffice. |
posted almost 11 years ago
Andrew Stacey
118 posts
|
I put 2.9.1 in the Gemfile but I don’t know if that’s the minimum value. Interestingly, bundle won’t update to the latest version unless you specify such a minimum. Comparing the logs, then it would appear that something in the mysql module was returning the updated page name when instiki was expecting the old page name, so when instiki swept the cache using what it thought was the old page name, it was actually using the new one and thus the old cache page wasn’t being deleted. |
posted almost 11 years ago
distler
123 posts
|
If there’s a minimum version number for the Curious, though, that this “cache bug” of yours would seem to have nothing to do with … caching. |
posted almost 11 years ago
Andrew Stacey
118 posts
|
I think I’ve killed the cache bug! I did a fresh install of Instiki+MySQL on a debian virtual machine and … no cache bug. So I went back to my live installs and … cache bug. Poking around, I discovered that my fresh install was using version 2.9.1 of the mysql gem but the live installs were using 2.8.1. So, on a hunch, I updated to 2.9.1 and tried reproducing the cache bug … and it had gone. I don’t know if I’ve well and truly killed it, but the steps I put above were reliably showing it for me on the nlab and on mathsnotes and now that I’ve updated the mysql gem then those steps no longer exhibit it so I figure that’s enough for a small celebration. |
posted almost 11 years ago
distler
123 posts
|
Forum: Instiki – Topic: Windows installation not working
The advantage of SQLite3 is that the entire database is in a single file,
will, among other things, perform the necessary database migrations (assuming the previous one is not too old). |
posted almost 11 years ago
nkay
8 posts
|
Forum: Instiki – Topic: Windows installation not working I got it working! YIPPIE! I had to do a complete reinstall with a different version of ruby and devkit. So any tips on migrating an already running wiki on a different server? I see Instiki created a “WEBS” folder which includes a folder with the name of the wiki. Does everything belong in the folder where the name of the file is ie. “ACES” or does it stay in the “WEBS” folder. |
posted almost 11 years ago
nkay
8 posts
edited almost 11 years ago |
Forum: Instiki – Topic: Windows installation not working Well im writing up simple documentation as i figure things out one at a time. I can send it too you if you want once everything is up and running. Yes, if i run the command “bundle install –path vendor/bundle” when it gets to the Fetching source index for Rubygems etc on where it reads the gemfile it will always stop on a gem name saying it cannot find the gem gemname <>=version in any of the gem sources listed in your Gemfile. Im getting an error when trying to install itextomml… Im wondering if its maybe the version of ruby i have installed or something. Something with the timezone. (Building native extensions. This could take a while… ERROR: Error installing itextomml: ERROR: Failed to build gem native extension. C:/Ruby187/bin/ruby.exe extconf.rb creating Makefile make gcc -I. -I/C/Ruby187/lib/ruby/1.8/i386-mingw32 -I/C/Ruby187/lib/ruby/1.8/i386-mingw32 -I. -g -O2 -DFD_SETSIZE=256 -Ditex2MML_CAPTURE -c itex2MML ruby.c In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:755:0, from itex2MML_ruby.c:832: c:/Ruby187/lib/ruby/1.8/i386-mingw32/missing.h:29:8: error: redefinition of ‘struct timezone’ In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:57:0, from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186, from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37, from itex2MML_ruby.c:832: c:\rubydevkit\mingw\bin../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/include/time.h:260:8: note: originally defined here make: *** [itex2MML_ruby.o] Error 1) |
posted almost 11 years ago
distler
123 posts
|
Forum: Instiki – Topic: Windows installation not working
Hopefully, you pain will be someone else’s gain, if the Windows installation instructions can be improved, based on your experience.
I don’t understand.
doesn’t install the gems in in the Or it does install them, but then Instiki can’t find them? |
posted almost 11 years ago
nkay
8 posts
edited almost 11 years ago |
Forum: Instiki – Topic: Windows installation not working Thanks for the response.. I have installed sqlite3 per your direction and looks like it has passed the sqlite3 portion of the install.. However looks like every gem listed on the gem file i have to install manually including “rake, nokogiri, and itextomml” however im getting errors now with itextomml so that would be a bit to troubleshoot. Never had so much trouble for something that is supposed to be so simple.. ugh.. |
posted almost 11 years ago
distler
123 posts
|
Forum: Instiki – Topic: Windows installation not working The Windows (unlike other operating systems) doesn’t come with that library installed. Some Ruby installers, for Windows, install it; evidently, some don’t. For those, you’ll have to install it yourself. If you google around, you’ll find plenty of useful advice on this topic. Unfortunately (since i don’t have any familiarity with Windows), I’m not a useful source for such advice. But, yes, as far as I can tell, installing the Windows SQLite3 package is a prerequisite for getting the
Bundler lets you manage/install rubygems, without installing them on the system. Instead, they are installed in your application’s But that’s not where (as far as I can tell) your problem lies. |
posted almost 11 years ago
nkay
8 posts
edited almost 11 years ago |
Forum: Instiki – Topic: Windows installation not working thanks for the reply. I currently have Ruby 1.8.7-p371 installed with the dev kit. So are you saying i need to download and install that package then attempt to run “ruby bundle install –path vendor/bundle” again? Im completly new to everything here.. I have aquired this outdated windows server that i had to upgrade to 2008r2. A week ago i just learned what ruby is so you really have to bear with me. How does this installation work? What i gather you use “GIT” to download all the packages or i think bundles is the term and then ruby installs them on the system? If thats the case, then my problem is when ruby is tries downloading the package from rubygems.org repository as it cant locate sqlite3. Even though i could manually go to the rubygems website and locate sqlite3. Could i download this manually from rubygems.org and maybe install it? |
posted almost 11 years ago
distler
123 posts
|
Forum: Instiki – Topic: Windows installation not working I don’t know what Ruby installation you have for Windows, but presumably, you are missing the SQLite3 precompiled binaries for Windows. Presumably, the Windows Installation Instructions could be improved. |
posted almost 11 years ago
nkay
8 posts
edited almost 11 years ago |
Forum: Instiki – Topic: Windows installation not working I have figured out the above error.. however, now i recieve an error from the gemfile when trying to download the bundles: D:\instiki-0.19.6>ruby bundle install –path vendor/bundle Updating http://github.com/distler/file_signature.git Updating http://github.com/distler/maruku.git Fetching source index for http://rubygems.org/ Could not reach rubygems repository http://rubygems.org/ Could not find gem ‘sqlite3 (>= 0)’ in any of the gem sources listed in your Gemfi It cant find sqlite3 in the repository however if i try to modify the gemfile in anyway and give sqlite3 a version number or somthing i receive an syntax error. How should I contruct the gemfile and maybe force it to find the specific version thats in rubygems.org This is the sqlite portion of the gemfile now: “source “http://rubygems.org”gem “sqlite3”, :require => “sqlite3” If i follow the syntax from the other bundles ie.. :require => “sqlite3” , “~> 1.3.7” |
posted 11 years ago
antonio66
3 posts
|
Forum: Instiki – Topic: instiki without database? Maybe You’re right, I’m not a programmer or linux specialist. But I’ve minimum to install the sqlite libraries and perhaps other dependent packages, too. And because of older packages, maybe the need of compiling… Keep it simple :) antonio |
posted 11 years ago
distler
123 posts
|
Forum: Instiki – Topic: instiki without database? I’m not sure why you think the Madeleine Persistence Layer (which, I believe, is what 0.9.2 uses) is lighter-weight than Sqlite3. You do need to store the data somewhere. And, with Sqlite3,
|
posted 11 years ago
Andrew Stacey
118 posts
|
Forum: Instiki – Topic: Feature Requests Thanks. |
posted 11 years ago
antonio66
3 posts
|
Forum: Instiki – Topic: instiki without database? what a pity; well, version 0.9.2 works ok for my usage. I’m using a small and older linux installation (puppylinux 4.1.2) on a thin client with CF-Card. I tried some perl-wikis without database and QuickiWiki (the original from Ward Cunningham) but it’s a bit outdated :) . Newer perl-wikis have problems with hiawatha (webserver security) and/or maybe perl 5.8.8. So I give ruby-wikis a try and instiki works nice antonio |
posted 11 years ago
distler
123 posts
|
Forum: Instiki – Topic: instiki without database? No. You need some database. But the default sqlite3 is as lightweight as humanly possible. |