This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "===========================================" >> /opt/csi/refresh-log | |
date >> /opt/csi/refresh-log | |
echo "===========================================" >> /opt/csi/refresh-log | |
cd /opt/csi/trisano-dw/warehouse | |
./etl.sh >> /opt/csi/refresh-log | |
sudo -u dave ssh -p 22543 dave@10.177.36.120 /opt/csi/refresh_avr.sh >> /opt/csi/refresh-log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=> Ctrl-C to shutdown server | |
/!\ FAILSAFE /!\ 09/05/2010 09:12PM | |
Status: 500 Internal Server Error | |
uninitialized constant MysqlCompat::MysqlRes | |
/Users/david/projects/TroopTrack/.bundle/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:440:in `load_missing_constant' | |
/Users/david/projects/TroopTrack/.bundle/ruby/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:80:in `const_missing' | |
/Users/david/projects/TroopTrack/.bundle/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/mysql_adapter.rb:9:in `define_all_hashes_method!' | |
/Users/david/projects/TroopTrack/.bundle/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/mysql_adapter.rb:68:in `mysql_connection' | |
/Users/david/projects/TroopTrack/.bundle/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in `send' | |
/Users/david/projects/TroopTrack/.bundle/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
david@ubuntu:/opt/csi/trisano/build/webapp$ /opt/csi/trisano/build/distro/../lib/jruby/jruby-1.3.1/bin/jruby -S rake db:migrate RAILS_ENV=production --trace | |
(in /opt/csi/trisano/build/webapp) | |
no such file to load -- cucumber/rake/task | |
** Invoke db:migrate (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
Cannot load default locale. Rebuilding database? | |
** Execute db:migrate | |
== AddParentGuardianField: migrating ========================================= | |
-- add_column(:events, :parent_guardian, :string) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Failure: | |
test: As a scout should be able to visit my account. (UserAccountTest) | |
[/test/integration/user_account_test.rb:14:in `__bind_1281911707_398903' | |
shoulda (2.11.3) lib/shoulda/context.rb:382:in `call' | |
shoulda (2.11.3) lib/shoulda/context.rb:382:in `test: As a scout should be able to visit my account. ']: | |
<"http://www.example.com/users/6563/user_account"> expected but was | |
<"/users/6563/user_account">. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo touch /opt/csi/trisano-postgres/share/postgresql/tsearch_data/empty.stop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springsource.org/dtd/spring-beans.dtd"> | |
<!--+ | |
| This should be the only file specified in web.xml's contextConfigLocation. It should only contain imports. | |
+--> | |
<beans> | |
<import resource="pentahoSystemConfig.xml" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dump Users | |
pg_dump -a -t authorities -t users -t granted_authorities -U hibuser hibernate > avr_users.sql | |
Restore Users | |
First edit the avr_users.sql file to remove the default users, roles, and granted authorities. | |
psql -U hibuser hibernate < avr_users.sql |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BEGIN; ALTER TABLE events DROP participations_outbreak_id CASCADE; ROLLBACK; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) | |
ActiveRecord::RecordInvalid in 'EventQueuesController handling DELETE /event_queues/1 should find the event_queue requested' | |
Validation failed: Entity information is not complete. Most likely you are adding phone or address information without a name, No information has been supplied for the interested party. | |
/home/david/trisano/webapp/app/models/event_queue.rb:49:in `fix_up_events' | |
/home/david/trisano/webapp/app/models/event_queue.rb:37:in `each' | |
/home/david/trisano/webapp/app/models/event_queue.rb:37:in `fix_up_events' | |
/home/david/trisano/webapp/app/controllers/event_queues_controller.rb:80:in `destroy' | |
/home/david/.rvm/gems/ree-1.8.7-2010.01/gems/haml-2.0.7/lib/sass/plugin/rails.rb:19:in `process' | |
./spec/controllers/event_queues_controller_spec.rb:315:in `do_delete' | |
./spec/controllers/event_queues_controller_spec.rb:320: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MeritBadgeTrackersController < ApplicationController | |
before_filter :tab_alias | |
before_filter :can_manage_merit_badge_records | |
before_filter :can_manage_merit_badge_records_required, :except => [:show, :index] | |
# before_filter :allow_scout_run | |
before_filter :user | |
before_filter :scout_user_required | |
def index | |