Wiki on Rails

B

baalbek

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
 
D

David Vallner

--------------enigF1232DA42FA918AA08A1EA43
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi, just recently installed RoR, and would like to create a Wiki runnin= g
on my Rails installation.
=20
Are there any ready-to-go Wikis (ala PhP) for RoR?
=20

A) You usually capitalise PHP whole.

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

David Vallner


--------------enigF1232DA42FA918AA08A1EA43
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFHuo4y6MhrS8astoRAqSzAJ4h6+LevfGN9VfvjKsvCHQh+31VtQCfadcd
OBkzITdQUKiWPcIK9tdMGk0=
=BH1F
-----END PGP SIGNATURE-----

--------------enigF1232DA42FA918AA08A1EA43--
 
B

baalbek

David said:
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:in `require'
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:in `require'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:229:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:228:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:214:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:213:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:214:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:213:in `activate'
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:in `require_gem'
from /usr/bin/instiki:17


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

Regards,
Baalbek
 
D

David Vallner

--------------enig7146DC4D0F747749EEA3CDE1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
=20
Opps, after running gem install -y instiki (and gem update -y <=3D=3D w= hat
do this do?), the command 'instiki' gave the following errors:
=20
=20
/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/clea= n_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/clea= n_logger.rb:13
=20
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'=
1
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'=

from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'=
from /usr/local/lib/site_ruby/1.8/rubygems.rb:229:in `activate'=
from /usr/local/lib/site_ruby/1.8/rubygems.rb:228:in `activate'=
from /usr/local/lib/site_ruby/1.8/rubygems.rb:214:in `activate'=
from /usr/local/lib/site_ruby/1.8/rubygems.rb:213:in `activate'=
from /usr/local/lib/site_ruby/1.8/rubygems.rb:214:in `activate'=
from /usr/local/lib/site_ruby/1.8/rubygems.rb:213:in `activate'=
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:in `require_ge= m'
from /usr/bin/instiki:17
=20
=20
What is missing? I'm having Ruby 1.8.4 on a Linux Kubuntu system.
=20
Regards,
Baalbek
=20

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=
=2E

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 versio=
ns.

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<madeleine>, ["=3D 0.7.1"])
s.add_dependency(%q<RedCloth>, ["=3D 3.0.3"])
s.add_dependency(%q<rubyzip>, ["=3D 0.5.8"])
s.add_dependency(%q<rails>, ["=3D 0.13.1"])

Change the =3D to >=3D on all lines.

David Vallner


--------------enig7146DC4D0F747749EEA3CDE1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFHwoKy6MhrS8astoRAmlVAJ9bxBAQCekWzsyeqkTvrBu0EUey2ACfaL5k
znQyZCxQcDYVSd6FgK+Nlsk=
=D1bH
-----END PGP SIGNATURE-----

--------------enig7146DC4D0F747749EEA3CDE1--
 
J

Jonas Hartmann

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 )
 
B

baalbek

Jonas said:
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 Vallner.

Baalbek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,214
Messages
2,571,112
Members
47,704
Latest member
DavidSuita

Latest Threads

Top