#235 ✓invalid
jmeridth (at gmail)

After creating new project with Git url, receive error about lib/git.rb

Reported by jmeridth (at gmail) | May 13th, 2009 @ 08:54 AM

  1. I git cloned git://github.com/benburkert/cruisecontrolrb.git to my CI server

  2. I installed the grit and mime-types gems and could see the cruisecontrol.rb homepage just fine before adding a new project.

  3. I issued the following command:
    ./cruise project add proj_name --git-url ssh://user@host:port/folder/to/git/repo

The project was created successfully and source was pulled.

  1. When I go to the homepage of cruisecontrol.rb again, I receive the following error and stack trace.

Any clues?

Thanks.

LoadError in ProjectsController#index

Expected /home/jmeridth/cruise/lib/git.rb to define Git
RAILS_ROOT: /home/jmeridth/cruise/config/..

Application Trace | Framework Trace | Full Trace

{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:249:in load_missing_constant'

{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:452:in const_missing'

{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:464:in const_missing'

{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:260:in load_missing_constant'

{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in const_missing'

{RAILS_ROOT}/app/models/project.rb:11:in read'

{RAILS_ROOT}/app/models/projects.rb:18:in load_project'

{RAILS_ROOT}/app/models/projects.rb:31:in load_all'

{RAILS_ROOT}/app/models/projects.rb:30:in collect'

{RAILS_ROOT}/app/models/projects.rb:30:in load_all'

{RAILS_ROOT}/app/models/projects.rb:7:in load_all'

{RAILS_ROOT}/app/controllers/projects_controller.rb:5:in index'

{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1095:in send'

{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1095:in perform_action_without_filters'

{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:632:in call_filter'

{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:619:in perform_action_without_benchmark'

{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in perform_action_without_rescue'

/usr/lib/ruby/1.8/benchmark.rb:293:in measure'

{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in perform_action_without_rescue'

{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in perform_action'

{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in send'

{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in process_without_filters'

{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:624:in process_without_session_management_support'

{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in process'

{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:330:in process'

{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in dispatch'

/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:76:in process' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:insynchronize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in process' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:inprocess_client' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in each' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:inprocess_client' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:ininitialize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in new' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:inrun' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in initialize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:innew' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:inrun' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in each' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:inrun' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:inrun' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 /usr/bin/mongrel_rails:19:in load' /usr/bin/mongrel_rails:19 Request

Parameters: None

Show session dump

Response

Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}

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

Pages