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
-
Brian Guthrie July 26th, 2009 @ 12:50 PM
- State changed from new to open
- Milestone set to current
-
Brian Guthrie July 26th, 2009 @ 12:50 PM
- Tag set to blocker, bug
-
Brian Guthrie July 26th, 2009 @ 12:50 PM
- State changed from open to resolved
Resolved in commit 2115f2a8a36413ae557e41afb095955bfb0976aa. Moved location of Configuration load to ensure its availability in site_config.
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป