Realizei todos os procedimento de instalação conforme o manual no site Github, porém ao executar o comando bundle exec rails server reporta o seguinte erro. Não tenho ideia de como resolver.
=> Booting Puma
=> Rails 4.2.11.1 application starting in development on http://localhost:3000
=> Run rails server -h
for more startup options
=> Ctrl-C to shutdown server
Exiting
/home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in initialize': could not connect to server: No such file or directory (PG::ConnectionBad) Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? from /home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in
new’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in connect' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:242:in
initialize’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:44:in new' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/postgresql_adapter.rb:44:in
postgresql_connection’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in new_connection' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in
checkout_new_connection’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in acquire_connection' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in
block in checkout’
from /usr/share/rvm/rubies/ruby-2.2.6/lib/ruby/2.2.0/monitor.rb:211:in mon_synchronize' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in
checkout’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in block in connection' from /usr/share/rvm/rubies/ruby-2.2.6/lib/ruby/2.2.0/monitor.rb:211:in
mon_synchronize’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in connection' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:571:in
retrieve_connection’
from /home/seman/.rvm/gems/ruby-2.2.6/bundler/gems/activerecord-connections-b2a704ff10c4/lib/active_record/connections.rb:63:in retrieve_connection' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/connection_handling.rb:87:in
connection’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activerecord-4.2.11.1/lib/active_record/model_schema.rb:230:in table_exists?' from /home/seman/.rvm/gems/ruby-2.2.6/bundler/gems/audited-bfa27dbd1a40/lib/audited/auditor.rb:48:in
audited’
from /var/www/html/idiario/app/models/user.rb:4:in <class:User>' from /var/www/html/idiario/app/models/user.rb:1:in
<top (required)>’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:457:in load' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:457:in
block in load_file’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:647:in new_constants_in' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:456:in
load_file’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:354:in require_or_load' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:494:in
load_missing_constant’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:184:in const_missing' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/inflector/methods.rb:261:in
const_get’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/inflector/methods.rb:261:in block in constantize' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/inflector/methods.rb:259:in
each’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/inflector/methods.rb:259:in inject' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/inflector/methods.rb:259:in
constantize’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:566:in get' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:597:in
constantize’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/devise-3.5.1/lib/devise.rb:290:in get' from /home/seman/.rvm/gems/ruby-2.2.6/gems/devise-3.5.1/lib/devise/mapping.rb:81:in
to’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/devise-3.5.1/lib/devise/mapping.rb:76:in modules' from /home/seman/.rvm/gems/ruby-2.2.6/gems/devise-3.5.1/lib/devise/mapping.rb:93:in
routes’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/devise-3.5.1/lib/devise/mapping.rb:160:in default_used_route' from /home/seman/.rvm/gems/ruby-2.2.6/gems/devise-3.5.1/lib/devise/mapping.rb:70:in
initialize’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/devise-3.5.1/lib/devise.rb:324:in new' from /home/seman/.rvm/gems/ruby-2.2.6/gems/devise-3.5.1/lib/devise.rb:324:in
add_mapping’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/devise-3.5.1/lib/devise/rails/routes.rb:224:in block in devise_for' from /home/seman/.rvm/gems/ruby-2.2.6/gems/devise-3.5.1/lib/devise/rails/routes.rb:223:in
each’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/devise-3.5.1/lib/devise/rails/routes.rb:223:in devise_for' from /var/www/html/idiario/config/routes.rb:9:in
block (2 levels) in <top (required)>’
from /home/seman/.rvm/gems/ruby-2.2.6/bundler/gems/route_translator-d9f8ce929bca/lib/route_translator/extensions/mapper.rb:8:in localized' from /var/www/html/idiario/config/routes.rb:8:in
block in <top (required)>’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/actionpack-4.2.11.1/lib/action_dispatch/routing/route_set.rb:432:in instance_exec' from /home/seman/.rvm/gems/ruby-2.2.6/gems/actionpack-4.2.11.1/lib/action_dispatch/routing/route_set.rb:432:in
eval_block’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/actionpack-4.2.11.1/lib/action_dispatch/routing/route_set.rb:410:in draw' from /var/www/html/idiario/config/routes.rb:3:in
<top (required)>’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:268:in load' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:268:in
block in load’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:240:in load_dependency' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:268:in
load’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/application/routes_reloader.rb:40:in block in load_paths' from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/application/routes_reloader.rb:40:in
each’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/application/routes_reloader.rb:40:in load_paths' from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/application/routes_reloader.rb:16:in
reload!’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/application/routes_reloader.rb:26:in block in updater' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/file_update_checker.rb:75:in
call’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/file_update_checker.rb:75:in execute' from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/application/routes_reloader.rb:27:in
updater’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/application/routes_reloader.rb:7:in execute_if_updated' from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/application/finisher.rb:69:in
block in module:Finisher’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/initializable.rb:30:in instance_exec' from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/initializable.rb:30:in
run’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/initializable.rb:55:in block in run_initializers' from /usr/share/rvm/rubies/ruby-2.2.6/lib/ruby/2.2.0/tsort.rb:226:in
block in tsort_each’
from /usr/share/rvm/rubies/ruby-2.2.6/lib/ruby/2.2.0/tsort.rb:348:in block (2 levels) in each_strongly_connected_component' from /usr/share/rvm/rubies/ruby-2.2.6/lib/ruby/2.2.0/tsort.rb:429:in
each_strongly_connected_component_from’
from /usr/share/rvm/rubies/ruby-2.2.6/lib/ruby/2.2.0/tsort.rb:347:in block in each_strongly_connected_component' from /usr/share/rvm/rubies/ruby-2.2.6/lib/ruby/2.2.0/tsort.rb:345:in
each’
from /usr/share/rvm/rubies/ruby-2.2.6/lib/ruby/2.2.0/tsort.rb:345:in call' from /usr/share/rvm/rubies/ruby-2.2.6/lib/ruby/2.2.0/tsort.rb:345:in
each_strongly_connected_component’
from /usr/share/rvm/rubies/ruby-2.2.6/lib/ruby/2.2.0/tsort.rb:224:in tsort_each' from /usr/share/rvm/rubies/ruby-2.2.6/lib/ruby/2.2.0/tsort.rb:203:in
tsort_each’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/initializable.rb:54:in run_initializers' from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/application.rb:352:in
initialize!’
from /var/www/html/idiario/config/environment.rb:5:in <top (required)>' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:274:in
require’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:274:in block in require' from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:240:in
load_dependency’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb:274:in require' from /var/www/html/idiario/config.ru:3:in
block in ’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/rack-1.6.11/lib/rack/builder.rb:55:in instance_eval' from /home/seman/.rvm/gems/ruby-2.2.6/gems/rack-1.6.11/lib/rack/builder.rb:55:in
initialize’
from /var/www/html/idiario/config.ru:in new' from /var/www/html/idiario/config.ru:in
’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/rack-1.6.11/lib/rack/builder.rb:49:in eval' from /home/seman/.rvm/gems/ruby-2.2.6/gems/rack-1.6.11/lib/rack/builder.rb:49:in
new_from_string’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/rack-1.6.11/lib/rack/builder.rb:40:in parse_file' from /home/seman/.rvm/gems/ruby-2.2.6/gems/rack-1.6.11/lib/rack/server.rb:300:in
build_app_and_options_from_config’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/rack-1.6.11/lib/rack/server.rb:209:in app' from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/commands/server.rb:61:in
app’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/rack-1.6.11/lib/rack/server.rb:337:in wrapped_app' from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/commands/server.rb:139:in
log_to_stdout’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/commands/server.rb:78:in start' from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:80:in
block in server’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:75:in tap' from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:75:in
server’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:39:in run_command!' from /home/seman/.rvm/gems/ruby-2.2.6/gems/railties-4.2.11.1/lib/rails/commands.rb:17:in
<top (required)>’
from /var/www/html/idiario/bin/rails:9:in require' from /var/www/html/idiario/bin/rails:9:in
<top (required)>’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in load' from /home/seman/.rvm/gems/ruby-2.2.6/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in
call’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/spring-2.0.2/lib/spring/client/command.rb:7:in call' from /home/seman/.rvm/gems/ruby-2.2.6/gems/spring-2.0.2/lib/spring/client.rb:30:in
run’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/spring-2.0.2/bin/spring:49:in <top (required)>' from /home/seman/.rvm/gems/ruby-2.2.6/gems/spring-2.0.2/lib/spring/binstub.rb:31:in
load’
from /home/seman/.rvm/gems/ruby-2.2.6/gems/spring-2.0.2/lib/spring/binstub.rb:31:in <top (required)>' from /var/www/html/idiario/bin/spring:15:in
require’
from /var/www/html/idiario/bin/spring:15:in <top (required)>' from bin/rails:3:in
load’
from bin/rails:3:in `’
Fico no aguardo de alguma ajuda, o i-educar já está em funcionamento.