Recent Posts
|
posted 12 years ago
admin
64 posts
|
I’m working on updating my branch of Maruku, to incorporate various improvements from trunk. In particular, there are improvements to the table code. So you should check it out… |
|
posted 12 years ago
Andrew Stacey
118 posts
|
There’s a bug with maruku’s table handling: it doesn’t like whitespace at the end of the line (a previous version did, and it would seem to me that whitespace here should be fine). This causes tables that used to render to no longer do so. The fix is to modify the regexp for splitting cells: line 515 of
(I notice that this isn’t the same as the version of maruku on github, so don’t know if this would be superseded by updating to the latest version from there.) |
|
posted 12 years ago
admin
64 posts
|
Forum: Instiki – Topic: installation problems (mac osx lion) You need the latest development version ( .tar.gz, bzr or git). |
|
posted 12 years ago
sykstan
3 posts
|
Forum: Instiki – Topic: installation problems (mac osx lion) Hello there, I’m having the same problem with my installation. The default Ruby that came with my iMac is 1.8.7, but the gem
How did you manage to get it up and running? Thank you. |
|
posted almost 13 years ago
admin
64 posts
|
Forum: Instiki – Topic: Windows 8 and Instiki |
|
posted almost 13 years ago
slym
1 post
|
Forum: Instiki – Topic: Windows 8 and Instiki I followed the instructions given on the instiki.org and this is what I get: C:\instiki-0.19.6>ruby instiki C:/instiki-0.19.6/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/source. rb:571:in I tried different versions of Ruby but with no success. Please help! |
|
posted almost 13 years ago
xabier
12 posts
|
Forum: Instiki – Topic: installation problems (mac osx lion) Up and running again… Awesome! Thank you so much |
|
posted almost 13 years ago
distler
125 posts
edited almost 13 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 almost 13 years ago
xabier
12 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 almost 13 years ago
xabier
12 posts
edited almost 13 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 almost 13 years ago
distler
125 posts
edited almost 13 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 almost 13 years ago
xabier
12 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 almost 13 years ago
distler
125 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 almost 13 years ago
xabier
12 posts
edited almost 13 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 13 years ago
Andrew Stacey
118 posts
|
With the above changes, then
|
|
posted 13 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 13 years ago
distler
125 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 13 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 13 years ago
distler
125 posts
|
Might as well assume that
Correct. If you don’t specify a version, then any version is supposed to suffice. |
|
posted 13 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 13 years ago
distler
125 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 13 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 13 years ago
distler
125 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 13 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 13 years ago
nkay
8 posts
edited 13 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 13 years ago
distler
125 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 13 years ago
nkay
8 posts
edited 13 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 13 years ago
distler
125 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 13 years ago
nkay
8 posts
edited 13 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 13 years ago
distler
125 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. |