Skip to content

Instantly share code, notes, and snippets.

@cmrd-senya
Created October 28, 2015 03:29
Show Gist options
  • Save cmrd-senya/cf18acdc42b0c5849874 to your computer and use it in GitHub Desktop.
Save cmrd-senya/cf18acdc42b0c5849874 to your computer and use it in GitHub Desktop.
user@debian:~/diaspora$ bin/rake spec
PG::DuplicateDatabase: ОШИБКА: база данных "diaspora_test" уже существует
: CREATE DATABASE "diaspora_test" ENCODING = 'unicode'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `async_exec'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/database_statements.rb:154:in `execute'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activerecord-4.2.4/lib/active_record/connection_adapters/postgresql/schema_statements.rb:78:in `create_database'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activerecord-4.2.4/lib/active_record/tasks/postgresql_database_tasks.rb:17:in `create'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activerecord-4.2.4/lib/active_record/tasks/database_tasks.rb:93:in `create'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activerecord-4.2.4/lib/active_record/tasks/database_tasks.rb:107:in `block in create_current'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activerecord-4.2.4/lib/active_record/tasks/database_tasks.rb:275:in `block in each_current_configuration'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activerecord-4.2.4/lib/active_record/tasks/database_tasks.rb:274:in `each'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activerecord-4.2.4/lib/active_record/tasks/database_tasks.rb:274:in `each_current_configuration'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activerecord-4.2.4/lib/active_record/tasks/database_tasks.rb:106:in `create_current'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activerecord-4.2.4/lib/active_record/railties/databases.rake:17:in `block (2 levels) in <top (required)>'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:240:in `call'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:240:in `block in execute'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:235:in `each'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:235:in `execute'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:179:in `block in invoke_with_call_chain'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:201:in `block in invoke_prerequisites'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:199:in `each'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:199:in `invoke_prerequisites'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:178:in `block in invoke_with_call_chain'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:201:in `block in invoke_prerequisites'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:199:in `each'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:199:in `invoke_prerequisites'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:178:in `block in invoke_with_call_chain'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:201:in `block in invoke_prerequisites'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:199:in `each'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:199:in `invoke_prerequisites'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:178:in `block in invoke_with_call_chain'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/task.rb:165:in `invoke'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:150:in `invoke_task'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:106:in `block (2 levels) in top_level'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:106:in `each'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:106:in `block in top_level'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:115:in `run_with_threads'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:100:in `top_level'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:78:in `block in run'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:176:in `standard_exception_handling'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/rake/application.rb:75:in `run'
/home/user/diaspora/bin/rake:8:in `<top (required)>'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `load'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `block in load'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `load'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/home/user/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
-e:1:in `<main>'
Couldn't create database for {"adapter"=>"postgresql", "host"=>"localhost", "port"=>5432, "username"=>"mypguser", "password"=>"mypguserpass", "encoding"=>"unicode", "database"=>"diaspora_test"}
/home/user/.rvm/rubies/ruby-2.2.1/bin/ruby -I/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/rspec-core-3.3.2/lib:/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/rspec-support-3.3.0/lib /home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/rspec-core-3.3.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb --tag fixture
https://github.com/SuperTux88/diaspora_federation.git (at salmon) is not yet checked out. Run `bundle install` first.
/home/user/.rvm/rubies/ruby-2.2.1/bin/ruby -I/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/rspec-core-3.3.2/lib:/home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/rspec-support-3.3.0/lib /home/user/.rvm/gems/ruby-2.2.1@diaspora/gems/rspec-core-3.3.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb --tag fixture failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment