You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need help debugging some issue. I have this config for a Rails 3.2.8 app:
require 'mina/bundler'
require 'mina/rails'
require 'mina/git'
set :user, 'user'
set :domain, 'somedomain.com'
set :deploy_to, "/home/#{user}/public_html/#{domain}"
set :repository,""
desc "Deploys the current version to the server."
task :deploy do
deploy do
# Put things that will set up an empty directory into a fully set-up
# instance of your project.
invoke :'git:clone'
invoke :'bundle:install'
invoke :'rails:db_migrate'
invoke :'rails:assets_precompile'
to :launch do
queue "ln -nfs #{shared_path}/config/database.yml #{release_path}/config/database.yml"
queue 'touch tmp/restart.txt'
end
end
end
Bundle install task is working.
rails:db_migrate and rails:assets_precompile give me this error:
FATAL: Ident authentication failed for user "katherine"
Issue: My local user name is "katherine" but I specfically set :user to something else which is the username for the server
Why am I getting that error? I also don't have that username in any config file in the production server.
Other info: I do not use RVM. I have a capistrano config file that is working just fine with this line:
require 'bundler/capistrano'
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Yo Kat! Great to know you got to fix the problem. I'm curious though (and I'm also asking for the benefit of whoever finds this through Google): what was the exact issue?
@rstacruz The error is apparently a PostgreSQL connection error. I had to revise a bit to make sure the config/database.yml is correct. And on git, the database.yml could should be ignored. ln -s dir/config/database.yml current_path/config/database.yml makes sense and I had that but what went wrong is symbolic linking didn't work.
Need help debugging some issue. I have this config for a Rails 3.2.8 app:
Bundle install task is working.
rails:db_migrate and rails:assets_precompile give me this error:
Issue: My local user name is "katherine" but I specfically set :user to something else which is the username for the server
Why am I getting that error? I also don't have that username in any config file in the production server.
Other info: I do not use RVM. I have a capistrano config file that is working just fine with this line:
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: