 |
Forums |
Admin Discussion Forums: help Start New Thread
By: Matt MacGillivray
RE: problem: "superclass mismatch for class.. [ reply ] 2007-05-07 22:51
|
Is there anything specific that you did to your install? I'm running on OSX and am no longer having the problems - after doing 'gem update', which updated 'fastthread' to 1.0 from 0.6.4.1.
You should also be using the rails version that is linked to in the repository.. under instiki/vendor/rails .
Let me know if you are still having the problem and I can try to help you further.
|
By: David Welton
RE: problem: "superclass mismatch for class.. [ reply ] 2007-04-30 13:59
|
I tried updating all my gems, but it doesn't seem to have changed much. I'm running on the latest stable rails, with Ruby 1.8.5, on Ubuntu Feisty.
I tried running in the production environment, and things seem to work there, so I suspect that it's rails doing something funky in the development environment.
|
By: Matt MacGillivray
RE: problem: "superclass mismatch for class.. [ reply ] 2007-04-30 13:52
|
I struggled with this problem for a bit, but when I updated my related gems, it went away. The one I noticed was fastthreads (or something).
Try a global gem update and see if it solves your problem. I did find a few posts about a similar issue being a bug in one of the rails packages, but could never specifically isolate it.
|
By: Matt MacGillivray
RE: problem: "superclass mismatch for class.. [ reply ] 2007-04-10 04:07
|
Did a little digging into this, and found that the instiki/vendor/rails version *seems* to be causing my problem when running instiki from trunk.
When I run instiki-0.11.0 (from svn) everything seems to work correctly.
When I use the instiki-0.11.0/vendor/rails directory in instiki-trunk, I no longer have the 'superclass mismatch for WikiReference' problem (run into a javascript problem, but that's much easier to deal with).
When I dropped the instiki-trunk/vendor/rails directory into instiki-0.11.0, I ran into the 'superclass mismatch' problem again.
So it seems to be related to the rails distro. If no one else is seeing a problem, it might be isolated to osx.
Found a note on ruby-forum about it - apparently others saw a similar problem a little while ago: http://www.ruby-forum.com/topic/53563#30458 and it was fixed for rails.
I tried updating to trunk for rails, and still had the problem. I'll dig into it a little more later.
|
By: Matt MacGillivray
problem: "superclass mismatch for class..." [ reply ] 2007-04-08 18:13
|
I just downloaded the source, compiled and am running through eclipse. I'm relatively new to ruby so some of these error messages are a little cryptic...
I was able to run, view and edit the homepage. However, when I save the page, I see the error "superclass mismatch for class WikiReference" and am left in 'edit' mode.
I suspect it's a versioning issue - I hear there is a problem like this with rails 1.2.2, so I upgraded to rails 1.2.3. What versions should I be running with in order to get it working? Has anyone else experienced this problem?
Here are the details of my environment (on the latest version of OSX):
> ./script/about
About your application's environment
Ruby version 1.8.5 (i686-darwin8.8.2)
RubyGems version 0.9.0
Rails version 1.2.3
Active Record version 1.15.3
Action Pack version 1.13.3
Action Web Service version 1.2.3
Action Mailer version 1.3.3
Active Support version 1.4.2
Edge Rails revision 6504
Application root /Users/qmnonic/dev/instiki
Environment development
Database adapter mysql
Database schema version 2
Any help would be great. I'd love to get it running and contribute to the project if I could.
Thanks.
|
|
 |