#264 ✓resolved
Chad Woolley

Error reading site_config.rb

Reported by Chad Woolley | July 19th, 2009 @ 11:33 PM | in current

This is happening in master after Brian's merge:

cruise data root = '/Users/woolley/.cruise'
=> Call with -d to detach
=> Ctrl-C to shutdown server


Processing ProjectsController#index (for 127.0.0.1 at 2009-07-20 00:02:25) [GET]
Rendering template within layouts/application
Rendering projects/index
Completed in 919ms (View: 905 | 200 OK [http://localhost/]
cruise data root = '/Users/woolley/.cruise'
cruise data root = '/Users/woolley/.cruise'
cruise data root = '/Users/woolley/.cruise'
cruise data root = '/Users/woolley/.cruise'
cruise data root = '/Users/woolley/.cruise'
/Users/woolley/workspace/cruisecontrol.rb/vendor/rails/activesupport/lib/active_support/dependencies.rb:443:in `load_missing_constant': uninitialized constant Configuration (NameError)
    from /Users/woolley/workspace/cruisecontrol.rb/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
    from /Users/woolley/workspace/cruisecontrol.rb/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing'
    from /Users/woolley/.cruise/site_config.rb:40
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
    from /Users/woolley/workspace/cruisecontrol.rb/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
    from /Users/woolley/workspace/cruisecontrol.rb/config/environments/builder.rb:6:in `load_environment'
    from /Users/woolley/workspace/cruisecontrol.rb/lib/cruise_control/../../script/../config/../vendor/rails/railties/lib/initializer.rb:592:in `call'
     ... 11 levels...
    from /Users/woolley/workspace/cruisecontrol.rb/lib/cruise_control/init.rb:50:in `builder'
    from /Users/woolley/workspace/cruisecontrol.rb/lib/cruise_control/init.rb:11:in `send'
    from /Users/woolley/workspace/cruisecontrol.rb/lib/cruise_control/init.rb:11:in `run'
    from /Users/woolley/workspace/cruisecontrol.rb/cruise:5
/Users/woolley/workspace/cruisecontrol.rb/vendor/rails/activesupport/lib/active_support/dependencies.rb:443:in `load_missing_constant': uninitialized constant Configuration (NameError)

Nothing special in my site_config.rb either, it works fine under the release, line 40 is the first non-comment line:

Configuration.default_polling_interval = 5.seconds

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Tags

Pages