From: David Vallner Date: 2006-10-01T09:21:29+09:00 Subject: Re: Wiki on Rails --------------enig7146DC4D0F747749EEA3CDE1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable baalbek wrote: > David Vallner wrote: >> B) Yes. "gem install -y instiki", "gem update -y" and "instiki" in a >> console should help. >=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'= > from > /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support.rb:3= 1 > 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_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, ["=3D 0.7.1"]) s.add_dependency(%q, ["=3D 3.0.3"]) s.add_dependency(%q, ["=3D 0.5.8"]) s.add_dependency(%q, ["=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--