similar to: First steps: superclass mismatch

Displaying 20 results from an estimated 5000 matches similar to: "First steps: superclass mismatch"

2006 Jun 16
5
superclass mismatch for class OrderedOptions
I have Rails 1.1.2 installed and froze my app to 1.0 by checking it out into the vender directory. Maybe it''s coincidence, but now when trying to do rake migrate I get this: > rake migrate --trace (in /home/beet/workspace/) rake aborted! superclass mismatch for class OrderedOptions /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ordered_options.rb:27
2007 Feb 05
0
superclass mismatch for class OrderedOptions (TypeError)
ngw@adreadedsunnyday ~/projects/hotchalk$ script/server ./script/../config/boot.rb:28:Warning: require_gem is obsolete. Use gem instead. /opt/local/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:606: superclass mismatch for class OrderedOptions (TypeError) from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/ custom_require.rb:27:in `gem_original_require'' from
2010 Dec 15
5
Having trouble testing :( "superclass mismatch" and can't load "test_helper"
I''m having trouble testing my Rails 3 application. Unit testing doesn''t work. If I try ruby article_test.rb directly, I get a "no such file to load" error, and if I try rake test:units or ruby unit/ article_test.rb I get this odd "superclass mismatch for class ArticlesController" error! I''m hoping I can get this settled... My test files were
2006 Mar 06
0
superclass mismatch for class OrderedOption Edge Rails
I upgraded rake as mentioned on other blogs in order to get switchtower now Capsitrano to work in an app that I need some features and bug fixes of Rails 1.1 but now known of my rake tasks work with the app, however switchtower does. I get a superclass mismatch for class OrderedOption error whenever I try to run any rake task. The wierd thing is that it works just fine on my dev box, it
2006 Sep 30
3
Domain setup w/ RoR & Plesk
Hi all. I have Rails installed on a dedicated virtual server that''s running Plesk. I''ve been told by my hosting service that removing or altering Plesk''s default domain root folder (httpdocs) is likely to muck things up. So what''s my best option for setting up rails apps, given that I can''t create them as the domain root?
2006 Feb 22
1
Urgent help needed
Hi, I''m on Apache 2.0.54, Linux Fedora Core 2 with Plesk. I installed a Rails application previously on the box using SCGI and it works fine; even now. I''m trying to get a second app online and it fails. Same config, except for the SCGI runner ports of course. It looks like the error comes from the fact that the mod_rewrite loops. WHY ??? BTW : I have to put this app
2006 Jun 24
0
superclass mismatch for class Tag (TypeError)
I am trying to write a ruby script which includes both the ''RubyfulSoup'' gem for HTML scouring, and the rails environment so I can access the database easily. I get the following error when trying to run this script. /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/helpers/../../action_controller/vendor/html-scanner/html/node.rb:276: superclass mismatch for class
2005 Aug 24
0
php help please
Hi, My system uses CentOS 3.5 plus Plesk 7.5.3 reloaded for the server administration for customers. Qmail is the MTA. A couple of days ago I ran yum list updates and there were these packages to update: php i386 4.3.2-25.ent.centos.1 update php-imap i386 4.3.2-25.ent.centos.1 update php-mysql i386
2006 Apr 14
1
rake test errors
I have Rails 1.1.2, ruby 1.8.4 and gentoo linux running kernel 2.6.15. Here are the errors: gregg@gregg2 ~/user/DMS $ rake test (in /home/gregg/user/DMS) /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ ordered_options.rb:2: warning: method redefined; discarding old []= /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ ordered_options.rb:11: warning: method
2010 Sep 23
3
superclass mismatch for class Tempfile
I''ve been facing a problem when generating a model (or controller, ...). I''m using rails 2.3.8 and ruby 1.8.7. Has anybody been facing anything like this? script/generate controller test /usr/lib/ruby/1.8/tempfile.rb:12: superclass mismatch for class Tempfile (TypeError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require''
2009 Apr 06
3
After Rails 2.3.2 upgrade: superclass mismatch for class TestCase (TypeError)
I upgraded a working app from rails 2.1 to 2.3.2. Now when I run rake test:units I get this error: /usr/lib/ruby/gems/1.8/gems/ activesupport-2.3.2/lib/active_support/test_case.rb:17: superclass mismatch for class TestCase (TypeError) I generated a new test app and all tests run OK. For the upgrade I ran rake:update and renamed the class in test_helper to ActiveSupport::TestCase. Also renamed
2013 May 19
4
security breach - ftp?
Hi, I'm running Plesk 11.0.9 on a Centos 5.5. A website on that box got hacked last week and malicious code got inserted into some html/php files. So I went to find out what happened... I found no back doors by using rkhunter or manually searching for suspicious files in /tmp, etc. No activity at all in the php logs at the time of the attack. I also analysed of course the system logs
2005 Nov 24
0
model classes into module = superclass mismatch
Hello. I''d like to put all my data model classes into a module to avoid name clashes with other classes. However, when I do so, I get a superclass mismatch error. My class hierarchy for the class in question looks like this: class ViewCTI < ActiveRecord::Base end module ORM class Molecule < ViewCTI end end I load the model classes from the ApplicationController class
2012 Dec 27
1
superclass mismatch for class TeeInput?
> I was trying to run Unicorn 4.5.0''s tests and I''m getting this. Am I doing something wrong? > > [vagrant at localhost unicorn-4.5.0]$ testrb -Ilib -Iext/unicorn_http -I. test > /home/vagrant/.gem/ruby/1.9.1/gems/unicorn-4.5.0/test/unit/test_tee_input.rb:7:in `<top (required)>'': superclass mismatch for class TeeInput (TypeError) > from
2006 Feb 03
4
(BUG in svn/trunk?) - superclass mismatch for any subclass of ApplicationController
I track svn/trunk of Rails using svn:externals Some change to Rails committed in the last 1-2 days broke my subclass of ApplicationController The example, below, works with Rails 1.0, but in today''s svn, it dies with the following error: "superclass mismatch for class FooController" class ApplicationController < ActionController::Base end class FooController <
2006 Aug 17
6
what did I do to my app? (Superclass mismatch?)
It was working before (as far as I can tell), but I freezed_edge and now... The first time I load this page, it works fine, the second time I get the superclass mismatch, the third time (and any subsequent times ) i get undefined method. I think this means my class is getting loaded twice? my model looks like this: class Quotation < ActiveRecord::Base has_many :price_breaks has_many
2006 Apr 10
15
Apache/FastCGI still in development mode?
I''m running rails on RedHat ES3 managed by Plesk with Apache/FastCGI. I''ve followed the directions here: http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnPlesk And got everything working, but my application refuses to run in Production mode. It runs in development mode despite the fact that I''ve set: FastCgiServer
2006 Apr 24
0
saving from word & excel
hi, we're using a samba-server over DSL using openVPN and the speed is very good at browsing directories and quite OK at loading/saving files except for word & excel where it takes about 20-30 seconds to save even a small file. which is no wonder because the following happens in log.smbd when i click "save" in word, it obviously checks for a bazillion tmp- and lockfiles (
2006 Apr 12
13
Public Directory not accessible
Been trying to deploy my rails app on Redhat ES3, Apache2, FastCGI with Plesk all day. Fun stuff. Basically, the issue that I can not solve has to do with access to /public. None of my images, javascripts, etc. are working in the app. Trying to access any of these results in a 404 (or routing error if in developer mode). Oddly, the 404 file it displays is -- you guessed it -- in fact *in*
2005 Feb 12
0
problem with plesk on centos
Hi, Am running CentOS with plesk 7.5.1 and get this error trying to use the updater in Plesk which updates Plesk plus adds dependencies that Plesk might need: Preparing for packages installation... ----- begin of output ----- Installing perl-CGI-2.81-88.7.i386.rpm warning: /root/psa/PSA_7.5.2/RHel3_std.updates/perl-CGI-2.81-88.7.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e file