Wiki on Rails

Hi, just recently installed RoR, and would like to create a Wiki running
on my Rails installation.

Are there any ready-to-go Wikis (ala PhP) for RoR?

Baalbek

baalbek wrote:

Hi, just recently installed RoR, and would like to create a Wiki running
on my Rails installation.

Are there any ready-to-go Wikis (ala PhP) for RoR?

A) You usually capitalise PHP whole.

B) Yes. “gem install -y instiki”, “gem update -y” and “instiki” in a
console should help.

David V.

David V. wrote:

B) Yes. “gem install -y instiki”, “gem update -y” and “instiki” in a
console should help.

Thanks!

David V. wrote:

B) Yes. “gem install -y instiki”, “gem update -y” and “instiki” in a
console should help.

Opps, after running gem install -y instiki (and gem update -y <== what
do this do?), the command ‘instiki’ gave the following errors:

/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb:13:in
remove_const': constant Logger::Format not defined (NameError) from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clean_logger.rb:13 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support.rb:31
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in require' from /usr/lib/ruby/gems/1.8/gems/activerecord-1.11.1/lib/active_record.rb:29 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from /usr/local/lib/site_ruby/1.8/rubygems.rb:229:in activate' from /usr/local/lib/site_ruby/1.8/rubygems.rb:228:inactivate’
from /usr/local/lib/site_ruby/1.8/rubygems.rb:214:in activate' from /usr/local/lib/site_ruby/1.8/rubygems.rb:213:inactivate’
from /usr/local/lib/site_ruby/1.8/rubygems.rb:214:in activate' from /usr/local/lib/site_ruby/1.8/rubygems.rb:213:inactivate’
from /usr/local/lib/site_ruby/1.8/rubygems.rb:66:in
active_gem_with_options' from /usr/local/lib/site_ruby/1.8/rubygems.rb:59:inrequire_gem’
from /usr/bin/instiki:17

What is missing? I’m having Ruby 1.8.4 on a Linux Kubuntu system.

Regards,
Baalbek

baalbek wrote:

    from
    from
    from /usr/bin/instiki:17

What is missing? I’m having Ruby 1.8.4 on a Linux Kubuntu system.

Regards,
Baalbek

I got the same issue before updating the gems, it’s due to some
incompatible Logger changes between Ruby 1.8.2 and 1.8.3 that break
Rails.

I thought updating Rails will make instiki pick up the new, since fixed
versions, but apparently the whole gem is hardcoded to use the old
versions.

Look up its specification file, yours should be at
/usr/lib/ruby/gems/1.8/specifications/instiki-0.10.2.gemspec.

At the end, there should be lines specifying dependency versions:

s.add_dependency(%q, ["= 0.7.1"])
s.add_dependency(%q, ["= 3.0.3"])
s.add_dependency(%q, ["= 0.5.8"])
s.add_dependency(%q, ["= 0.13.1"])

Change the = to >= on all lines.

David V.

Jonas H. wrote:

but you seem not to have rails up and running (or at least active
support, which is - as far as i know - part of rails )

I got rails running (at least the testpage at http://0.0.0.0).

My Active Support might not be ok, but I’ll try the solution given by
David V…

Baalbek

but you seem not to have rails up and running (or at least active
support, which is - as far as i know - part of rails )

That fixed it!

Thanks a lot!

Baalbek