# Recent Posts

411 posts found

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.

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.
If i manually type in Gem install gem name it will work. I have a feeling its the syntax or something inside the gemfile. I had to do the same for Rake and itextomml. Which brings me up to another issue i ran into.

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)

Forum: Instiki – Topic: Windows installation not working

Never had so much trouble for something that is supposed to be so simple.. ugh..

Hopefully, you pain will be someone else’s gain, if the Windows installation instructions can be improved, based on your experience.

However looks like every gem listed on the gem file i have to install manually…

I don’t understand.


bundle install –path vendor/bundle


doesn’t install the gems in in the vendor/bundle/ruby/* ?

Or it does install them, but then Instiki can’t find them?

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..

Forum: Instiki – Topic: Windows installation not working

The sqlite3 rubygem won’t compile without thelibsqlite3 C-library. (Unlike many rubygems, which are pure Ruby, this one contains a C extension that links to the aforementioned library.)

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 sqlite3 rubygem installed.

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?

Bundler lets you manage/install rubygems, without installing them on the system. Instead, they are installed in your application’s vendor/bundle directory.

But that’s not where (as far as I can tell) your problem lies.

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.

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.

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”

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

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,

• there’s no separate database process
• the data is stored in a single file, db/production.db.sqlite3.

Forum: Instiki – Topic: Feature Requests

Thanks.

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

Forum: Instiki – Topic: instiki without database?

No.

You need some database. But the default sqlite3 is as lightweight as humanly possible.

Forum: Instiki – Topic: instiki without database?

Dear,

is there a possibility to run the latest release without database? like 0.9.2?

I’m running version 0.9.2 on a small thin client and don’t want to bloat the system.

Thx antonio

Forum: Instiki – Topic: Feature Requests

Forum: Instiki – Topic: Feature Requests

Okay, so that was a pretty dubious feature request!

How about this one: if a page exists (meaning, really exists - not just a redirect) then a request to <web>/new/page should redirect either to <web>/edit/page or to <web>/show/page. If the page does exist then the effect of going to <web>/new/page and submitting stuff is the same as submitting an edit except that you don’t get the previous edit in the text box so there’s nothing to show that you’re replacing something already there. The argument for <web>/show/page being that if a page exists and you didn’t know it then you should probably have a good look at what’s already there before writing something new.

(This came up most recently because a Google search for a page led to the /new/ link even though the page exists - Google had clearly found the link somewhere and added it to its list, it does this even if a robots.txt file exists since the link exists on a page that it can read.)

Forum: Instiki – Topic: Windows installation not working

Im trying to migrate an existing wiki running on a old outdated server onto a new 2008 r2 x64 server. I have installed Ruby 1.9.3 onto the new computer and ran the Ruby bundle install –path vendor/bundle command as stated on the website however it looks like im getting a no such file or directory. I have verified that the source.rb file is located in the correct location.

D:\instiki-0.19.6\instiki-0.19.6>ruby bundle install –path vendor/bundle Fetching http://github.com/distler/file_signature.git D:/instiki-0.19.6/instiki-0.19.6/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/source.rb:57 8:in “’: No such file or directory - git clone “http://github.com/distler/file_signature.git” “D:/i nstiki-0.19.6/instiki-0.19.6/vendor/bundle/ruby/1.9.1/cache/bundler/git/file_signature-9e3f3d6fbf544 b2242ffca379f5f61bb2971e94e” –bare –no-hardlinks (Errno::ENOENT)

Also If there is any documentation or help on migrating the old wiki to the new server would be great.

Forum: Instiki – Topic: problem running instiki after installation

Probably, those instructions are out-of-date. (Help updating them would be appreciated.)

It would be best to ensure that you have a fully-functioning Ruby (1.9.3 is preferable) installation before proceeding with getting Instiki running. Perhaps these instructions might help.

Forum: Instiki – Topic: problem running instiki after installation

http://golem.ph.utexas.edu/wiki/instiki/show/Installation, the part that talked about ubuntu

Forum: Instiki – Topic: problem running instiki after installation

I followed all the instructions on your installation page for ubuntu.

What page are you talking about?

Forum: Instiki – Topic: problem running instiki after installation

Hi all, first time poster. Sorry if this has been discussed before, but I didn’t find anything on a quick search. I am running ubuntu 10.04, I followed all the instructions on your installation page for ubuntu. Everything seemed to install ok, I did all the apt-get and bundle install, but when I tried to run “./instiki –daemon” I get the following errors, fyi, my version of ruby is 1.8.7, patchlevel 249).

 /usr/lib/ruby/1.8/rubygems/dependency.rb:52:in initialize': Valid types are [:development, :runtime], not nil (ArgumentError) from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:352:in new' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:352:in search' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:346:in gems_size' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:179:in resolve' from /usr/lib/ruby/1.8/rubygems/source_index.rb:95:in sort_by' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:175:in each' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:175:in sort_by' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:175:in resolve' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:160:in start' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:128:in resolve' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:127:in catch' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/resolver.rb:127:in resolve' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/definition.rb:151:in resolve' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/definition.rb:90:in specs' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/definition.rb:135:in specs_for' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/definition.rb:124:in requested_specs' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/environment.rb:23:in requested_specs' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler/runtime.rb:11:in setup' from /home/riovine/instiki/instiki-svn/vendor/plugins/bundler/gems/bundler-1.0.18/lib/bundler.rb:107:in setup' from ./config/../config/preinitializer.rb:18 from ./config/boot.rb:28:in load' from ./config/boot.rb:28:in preinitialize' from ./config/boot.rb:10:in boot!' from ./config/boot.rb:124 from ./script/server:3:in require' from ./script/server:3 from ./instiki:6:in load' from ./instiki:6 

Forum: Instiki – Topic: migration to Rails3.

Here are the steps to follow:

Forum: Instiki – Topic: Feature Requests

It’s been suggested that this is because that is in a div with class name byline.

That seems a pretty thin reed on which to base a request for changing the class names we use.

Forum: Instiki – Topic: Bugs

I am fairly certain that none of my recent updates would affect this scenario..

But I’m happy to hear that it fixed itself.

Forum: Instiki – Topic: Bugs

… and in the time since you asked for clarification, it would appear that you’ve fixed it anyway as it no longer appears having just updated instiki.

Thanks.

Forum: Instiki – Topic: Bugs

Distillation for Distler (sorry, …)

1. Create a page with an apostrophe in the title, say apostrophe's.
2. Edit page.
3. Page magically becomes apostrophe&#x27;s.
4. Edit page, changing its name back to apostrophe's.
5. Page name is now correct.
6. Edit page.
7. Page name is mangled again.

Forum: Instiki – Topic: Feature Requests

Not sure if this is a bug or a feature request …

Google searches now include author information which it tries to glean from the page. It would appear that it uses the “Revised by XYZ” information to do this. It’s been suggested that this is because that is in a div with class name byline. I’m going to try changing this to see if it stops Google from assuming that to be the author. I don’t yet know how to override Google’s ad hoc method (which really does seem ad hoc if it uses a CSS class name as evidence).

I’ll report back on whether or not it works. If it does, consider this a feature request for changing byline to something like revisedby`.

Forum: Instiki – Topic: migration to Rails3.

Hi,

I have it working (mostly), today spend some time fixing

• asset pipeline for rails3
• further clean-up
• big issue running with passenger, rvm etc…

so, the test site is running here:

http://test.netxforge.com => This is the front site, which “presents” the wiki pages. http://test.netxforge.com/netxforge/list => The actual wiki

There are a some pending issues, with URL generator, making some links not working.. etc.. so still a bit of work….

Cheers Christophe

Forum: Instiki – Topic: migration to Rails3.

This is extremely interesting.

Porting Instiki to Rails3 has long been on my TODO list. But (as you’ve seen), it’s not a small job. So it keeps getting pushed back in favour of other things. So I’m really happy you’re working on this!

Forum: Instiki – Topic: migration to Rails3.

Ah, found the problem for the issue, I reported earlier. … (took me the better part of the morning grrrr…). Ok, so WikiContent extends ActiveSupport::SafeBuffer. Now this class changed in Rails 3, overriding (Or opening up in Ruby Parlence) with the following code:

def html_safe ActiveSupport::SafeBuffer.new(self) end

So, this produces a different Class type, hence the mixed-in methods get lost! and causes a problem in PageRenderer trying to call this method. Wow, I am happy I found this one.

the file holding this method is called: output_safety.rb in lib/activesupport/kernel. I couldn’t find the alternative for Rails 2.3, to prove my point. but regardless it now works, by commenting out this line in WikiContenr.render!

# self.html_safe

BTW: The teaser screenshot is now shown, in my previous post.