search for: pa_web

Displaying 2 results from an estimated 2 matches for "pa_web".

Did you mean: basweb
2006 Jan 20
2
what''s the right way to require a file?
...fig/environment.rb: Rails::Initializer.run do |config| config.load_paths += %W( #{RAILS_ROOT}/../lib ) end I then tried to require the file from config/environment.rb by appending require ''model_pathway_object'' With these changes WEBrick wouldn''t start: [luca@zirellu pa_web] ./script/server => Booting WEBrick... [luca@zirellu pa_web] So I moved the require to the top of my controller''s file. Now WEBrick starts, but the first time I place a request to the controller I get an error (Gem::LoadError in <controller not set>#<action not set>, tra...
2006 Jan 07
2
app no longer runs - MissingSourceFile for any controller
...ious I may have missed? Thanks in advance. Luca ps: in case it helps, here is the full backtrace of the exception MissingSourceFile in <controller not set>#<action not set> No such file to load -- app/controllers/welcome_controller.rb RAILS_ROOT: /usr/sunkay12/cshome/luca/pa_root/pa_web/public/../config/.. Application Trace | Framework Trace | Full Trace /usr/sunkay12/cshome/luca/usr-x86_64/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:207:in `load'' /usr/sunkay12/cshome/luca/usr-x86_64/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/activ...