search for: require_or_load

Displaying 20 results from an estimated 129 matches for "require_or_load".

2006 Mar 21
2
r3981 causes SystemStackError
...ndor/rails/activesupport/lib/active_support/dependencies.rb:102:in `rake_original_const_missing' from C:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1761:in `const_missing' from ./script/../config/../vendor/plugins/engines/lib/engines/dependencies_extensions.rb:35:in `require_or_load' from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:30:in `depend_on' ... 798 levels... from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:34 from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_requi...
2006 Sep 18
2
Datebocks and EdgeRails
...ny help or guide. Thank you very much. ========================= I have copied the error I get ArgumentError wrong number of arguments (2 for 1) RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:104:in `require_or_load'' #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:104:in `prepare_application'' #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:39:in `dispatch'' #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:110:in `handle_dispatch'' #{RAILS_ROOT}/vendor/ra...
2005 Jul 07
3
NameError Exception
.../ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/dependencies.rb:193:in `load'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/dependencies.rb:193:in `load'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/dependencies.rb:38:in `require_or_load'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/dependencies.rb:21:in `depend_on'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/active_support/dependencies.rb:29:in `associate_with'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.1.0/lib/act...
2006 Jan 10
13
InstantRails 1.0 problems...
Hi, I have installed InstantRails 1.0 Final on Win XP (Home SP2) and Win 2K 2000. I was able to get the two apps (cookbook, typo) work fine with Webrick but not with SCGI server. I tried changing the SCGI settings through the InstallRails.exe console so that the Runtime Mode: would be "development" instead of "production" and SCGI port: to 5000 instead of 9998.
2006 Mar 22
2
Edge Rails (1.1.0 RC1) and Typo Trunk
...s/activerecord/lib///activesupport/lib/ active_support/dependenciesrb:142:in `load'' /vendor/rails/activerecord/lib///activesupport/lib/ active_support/dependenciesrb:142:in `load'' /vendor/rails/activerecord/lib///activesupport/lib/ active_support/dependenciesrb:56:in `require_or_load'' /vendor/rails/activerecord/lib///activesupport/lib/ active_support/dependenciesrb:30:in `depend_on'' /vendor/rails/activerecord/lib///activesupport/lib/ active_support/dependenciesrb:74:in `require_dependency'' /vendor/rails/activerecord/lib///activesuppor...
2006 May 26
2
Rails app fails to start with LoginGenerator
...sr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in `load'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in `load'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:56:in `require_or_load'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:30:in `depend_on'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:85:in `require_dependency'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_s...
2006 Mar 28
8
Correct way to capture a select param
I''m having trouble capturing the params from a select type form. For text field like this: <%= text_field_tag :courseid %> I''m able to capture the posted value with this params[:courseid] However with a select field like this: <%= select(:course, :id, %w{value1 value2 value3} %> I''m not sure how to capture the posted value. -- Posted via
2006 Apr 11
9
Rails failure after upgrade to 1.1.2
...her.rb:34:in `inherited_with_action_controller'' #{RAILS_ROOT}/app/controllers/application.rb:3 /usr/lib/ruby/gems/1.9/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in `load'' /usr/lib/ruby/gems/1.9/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:56:in `require_or_load'' /usr/lib/ruby/gems/1.9/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:30:in `depend_on'' /usr/lib/ruby/gems/1.9/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:85:in `require_dependency'' /usr/lib/ruby/gems/1.9/gems/activesupport-1.3.1/lib/active_s...
2006 Mar 12
2
engines in edge
Hi, Engines is not working correctly for me with edge. I get: vendor/plugins/engines/lib/dependencies_extensions.rb:28:in `require_or_load'':NoMethodError: undefined method `log'' for Engines:Module I tried playing with Engines.create_logger at the end of config/environment.rb, but without success. ANy ideas ? PS: the Mailing List pages on rails-engines.org is empty :/ -- Jean-Christophe Michel
2009 Mar 21
6
script/console: "no such file to load -- application.rb (MissingSourceFile)"
...2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:381:in `load_file'' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:256:in `require_or_load'' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:221:in `depend_on'' from /opt/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:133:in `require_dependency'' from /opt/local/lib/ruby/gems/1.8...
2006 Mar 01
1
Net/Https & active_rbac & Debian Sarge
Hi, I''m attempting an install of active_rbac but am having some troubles. I''m running Debian 3.1 sarge and I am getting an error saying that I need to have net/https installed. I checked out my ruby lib and net/https.rb is nowhere to be found. I''m running the default ruby for Sarge which is 1.8.2. Was https.rb not included in this build? How can I get around this? I
2005 Mar 02
3
App behaves differently on Apache and Webrick
When running on the Webrick server (script/server), my app works fine. When running on Apache 2.0.52, I get the dreaded ''unitialized constant Merge'' error. Merge is the name of my model, the controller is MergesController. The deadline looms, any help appreciated! Thanks! Regards, JJ
2008 Mar 07
6
creating a model registry
Hi all, This is a problem I''ve approached so many times and always worked around, that now I want to solve it once and for all. Say I have something like this: --- class X < ActiveRecord::Base acts_as_wacky end module Wackinator class ControlAllWackos @@wackos = [] def self.kill_wackos @@wackos.each(&:kill) end end def acts_as_wacky
2007 Dec 28
3
Converting to Rails 2.0.2
...'' from /Users/sxross/rails/tastie_work/vendor/rails/activerecord/ lib/../../activesupport/lib/active_support/dependencies.rb:202:in `load_file'' from /Users/sxross/rails/tastie_work/vendor/rails/activerecord/ lib/../../activesupport/lib/active_support/dependencies.rb:94:in `require_or_load'' from /Users/sxross/rails/tastie_work/vendor/rails/activerecord/ lib/../../activesupport/lib/active_support/dependencies.rb:248:in `load_missing_constant'' from /Users/sxross/rails/tastie_work/vendor/rails/activerecord/ lib/../../activesupport/lib/active_support/dependencies....
2008 Sep 03
1
edge rails config.cache_classes = true breaks applications
...tivesupport/lib/active_support/dependencies.rb:507:in `new_constants_in'' from /Users/zecko/GIT/myapp/vendor/rails/activesupport/lib/active_support/dependencies.rb:148:in `require'' from /Users/zecko/GIT/myapp/vendor/rails/activesupport/lib/active_support/dependencies.rb:254:in `require_or_load'' ... 21 levels... from /Library/Ruby/Gems/1.8/gems/thin-0.8.1/lib/thin/runner.rb:136:in `run!'' from /Library/Ruby/Gems/1.8/gems/thin-0.8.1/bin/thin:6 from /usr/bin/thin:19:in `load'' from /usr/bin/thin:19 when i comment out the parts with "file_field&quo...
2006 Mar 25
1
Question about upgrading to rails rc1.1
...upport-1.2.5.4008/lib/active_ support/dependencies.rb:104:in `rake_original_const_missing'' from c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1761:in `cons t_missing'' from ./script/../config/../vendor/plugins/engines/lib/dependencies_exten sions.rb:28:in `require_or_load'' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5.4008/lib/active_ support/dependencies.rb:30:in `depend_on'' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5.4008/lib/active_ support/dependencies.rb:74:in `require_dependency'' from...
2007 May 09
3
engines causing problems with mocks
...; response.should be_success end end Gives me this error undefined method `callback_events'' for #<Class:Spec::Runner::Specification> /Users/davidsmalley/Development/incutio/skeleton/config/../vendor/ plugins/engines/lib/engines/rails_extensions/dependencies.rb:139 :in `require_or_load'' ./vendor/plugins/sor_core/spec/controllers/ admin_collections_controller_spec.rb:7 137 # if we managed to load a file, return true. If not, default to the original method. 138 # Note that this relies on the RHS of a boolean || not to be evaluated if the LHS is true. 139 file...
2006 Feb 17
3
Migration Errors?
...nts/Resources/ports/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load'' from /Applications/Locomotive/Bundles/rails-1.0.0-min.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in `require_or_load'' from /Applications/Locomotive/Bundles/rails-1.0.0-min.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in `depend_on'' from /Applications/Locomotive/Bundles/rails-1.0.0-min.bundle/Contents/Resources/po...
2006 Feb 26
6
Having trouble getting Edge Rails running
...7:in `as_load_path'': stack level too deep (SystemStackError) from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'' from ./script/../config/../vendor/plugins/engines/lib/dependencies_extensions.rb:28:in `require_or_load'' from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:30:in `depend_on'' from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:74:in `require_dependency'' from ./script/../co...
2008 Sep 12
1
ArgumentError: Unknown key(s): dependant
....2/lib/active_support/dependencies.rb:342:in `new_constants_in'' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:202:in `load_file'' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:94:in `require_or_load'' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:248:in `load_missing_constant'' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:453:in `const_missing'' from /usr/lib/rub...