cc.rb Mysql2:Error: No database selected: SHOW TABLES

cc.rb Mysql2::Error: No database selected: SHOW TABLESvi /home/agideo/projects/cruisecontrol-1.4.0/

cc.rb Mysql2::Error: No database selected: SHOW TABLES

vi /home/agideo/projects/cruisecontrol-1.4.0/tasks/cc_build.rakeif configurations and configurations.has_key?("test") and configurations["test"]["adapter"]  'mysql' 改为if configurations and configurations.has_key?("test") and (configurations["test"]["adapter"]  ‘mysql’ or configurations[“test”][“adapter”] == ‘mysql2’)