similar to: load_missing_constant: Expected to define class in module

Displaying 20 results from an estimated 1000 matches similar to: "load_missing_constant: Expected to define class in module"

2008 Nov 28
1
OT - tomcat 6 error
Hi I'm on 5.2 and 'have' to use tomcat 6 - I package it and can get the default install running fine - However when i drop my app into webapps/ as i war and start tomcat i get this INFO: Starting service Catalina Nov 28, 2008 10:44:15 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.18 Nov 28, 2008 10:44:15 AM
2007 Jun 19
1
Reloader paths/
after investigating why the reloader wasnt working , i discovered 2 probs, one of which was sorta my fault (but will likely happen to others who make one-file apps) first, my app was like this: #!/usr/bn/env ruby %w{applib1 applib2 digest/md80 airbus}.each{|r| require r}} if __FILE__ == $0 Mongrel.config do handler ''/'', Camping.reloader.new(__FILE__) end end not
2012 Oct 21
1
load_missing_constant
I have a model ''site'' defined in a sub-folder ''cms'' class Cms::Site < ActiveRecord::Base ..... the model is loaded correctly , checked in console: application.rb config.autoload_paths += Dir["#{config.root}/app/models/**/"] console >Cms::Site.all => [] Now trying to access this model from a sites_controller ( in backoffice/cms
2010 Jul 30
0
`load_missing_constant': uninitialized constant Rails::Railt
Hi All, I run rake gems:install rake gems:unpack If i add configure the rspec-rails gem in config/environment.rb: config.gem "rspec-rails", :version => ">= 1.3.2" and then run server. I am getting this error: /home/Amit/Myworkspace/MyApplication/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning:
2008 Jun 06
0
load_missing_constant': uninitialized constant ExceptionNoti
I have installed exception notifier plugin in my application & i am getting the error like this load_missing_constant'': uninitialized constant ExceptionNotifier (NameError) Please solve it -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2009 May 12
0
`load_missing_constant': uninitialized constant Rails::Generator (NameError)
Hello, I''m probably missing something pretty basic here as a rails newbie but I''m trying to write a plugin and I am trying to get my generator to work. I am trying to call the manifest method in my vendor/plugins/media_module/generators/media_module_generator.rb from my vendor/plugins/media_module/init.rb. here''s the code in vendor/plugins/media_module/init.rb:
2009 May 12
1
`load_missing_constant': uninitialized constant Rails::Gener
Hello, I''m probably missing something pretty basic here as a rails newbie but I''m trying to write a plugin and I am trying to get my generator to work. I am trying to call the manifest method in my vendor/plugins/media_module/generators/media_module_generator.rb from my vendor/plugins/media_module/init.rb. here''s the code in vendor/plugins/media_module/init.rb:
2007 Aug 01
1
PaginationHelper load_missing_constant error
I just ran into this error after updating rails and the rspec_on_rails plugin (both are on edge): /Users/ben/Work/wizzdl/vendor/rails/activerecord/lib/../../ activesupport/lib/active_support/dependencies.rb:263:in `load_missing_constant'': uninitialized constant ActionView::Helpers::PaginationHelper (NameError) from /Users/ben/Work/wizzdl/vendor/rails/activerecord/
2011 Mar 08
0
keep getting an error, "rescue in load_missing_constant': uninitialized constant Paperclip::Glue (NameError)"
hi, there rails: 2.3.8 machine os: Ubuntu 10.04 Lucid I''m having some problems with my rails installation in one of my new development machines. I have installed all the gems in my config/environment.rb file. When I now run either script/console or script/server, I have the error of " `rescue in load_missing_constant'': uninitialized constant Paperclip::Glue
2011 Mar 26
2
Verify tomcat config
I'm going to retire an old RHEL3 server and move the services to CentOS5. In particular, the web server is giving me a headache. On the old box, there's a hacked-up httpd/mod_jk/tomcat setup, and CentOS is perfect for the new box because the required components are included and the whole setup "just works" straight from installation. There seems to be surprisingly little
2008 Feb 06
0
[ wxruby-Bugs-17827 ] Crash when closing Dialog in bigdemo.rb
Bugs item #17827, was opened at 2008-02-06 11:50 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=17827&group_id=35 Category: Incorrect behavior Group: None Status: Open Resolution: None Priority: 3 Submitted By: Alex Fenton (brokentoy) Assigned to: Alex Fenton (brokentoy) Summary: Crash when closing Dialog in bigdemo.rb Initial Comment: Segfault
2007 Jul 04
1
Expected ... to define
I found several topics that covered a similar error with controllers, but mine is with a model, and none of the fixes previously mentioned seemed to apply. Here is the error: Expected ./app/models/lab_result.rb to define Lab_result C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:249:in `load_missing_constant''
2006 Mar 31
0
comments for joel about rails in software discussion
Is it the first to this community or already the discussion started. sorry if posted it again. This is for people who has not seen this... ------------------------------------------------------------------ Rails'' Ridiculous Restrictions, a Rant I recently finished using Ruby on Rails to write a simple bug tracking application. I thought I''d take this new RAD environment for a
2008 Jun 06
3
LoadError (Expected model.rb to define Model)
Hello, I''m having an error that occurs in production (on Dreamhost) but does not occur in development on my local machine. The situation is that there is a model (Article), and it uses act_as_ferret for search. The error is as follows (where I say {full server path}, that''s not what the error says, just my note): LoadError (Expected {full server path}/article.rb to define
2006 Aug 17
10
Expected ... to define ...
Hi, I have edge frozen on vendor, and getting these errors logged: Expected ../config/../app/controllers/store_controller.rb to define StoreController ../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:177:in `load_missing_constant'' ../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:275:in
2007 Jun 04
3
Expected ... to define (rails version 1.2.2)
Hi, I''m having a mysterious problem that occurs when I''m using Rails 1.2.2. My app works fine when the environment.rb file reads: RAILS_GEM_VERSION = ''1.1.6'' When I change this to: RAILS_GEM_VERSION = ''1.2.2'' and try to load http://<mydevhost>:3000/srs/, I get the following traceback in the developer log: Expected
2011 Aug 17
7
autoloading LoadError: Expected known_ip.rb to define KnownIp
Hello, i have a problem with autoloading model classes. I have had similar problems before when a file''s name in Rails'' opinion did not match with the name of the class defined inside, but eventually everything worked, so i didn''t look into details. This time the problem comes from running Unit Tests and does not want to go away. I have a model class KnownIP defined in
2012 Mar 07
0
LoadError: Expected X to define on gem upgrade
I''m upgrading to the latest version of ActiveAdmin and am running into the following when trying to start the app: Expected ../app/model/store/base.rb to define Base base.rb defines base like: module MyApp class Store::Base end end I''ve done some digging and found that ActiveAdmin did some refactoring to derive everything from a BaseController. It also depends on
2008 Jan 29
4
Setting up release-1.0.1
Hello, I am unable to get the backgroundrb server to run. Initially I got: /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:263:in `load_missing_constant'': uninitialized constant BackgrounDRb::MasterProxy (NameError) from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:453:in
2007 Jan 19
6
Problem w/ routes.rb
I am trying to develop a new webapp using Rails 1.2.1. I am installing it onto a production web server running Apache w/ fastcgi. The server already has some older webapps running on it using an older version of Rails. The apps are not installed in the document root; they each have their own subdirectory which is a symlink for the apache document root to the "public" directory of each