Erhard,
Thanks for your reply.
I added 'puts "goldberg init started" '. That worked fine in
development mode. I use webbrick and saw in the dos box dat the string
was displayed. In production I'm not sure where to look. I don't have
access to a webserver log. I tried
logger.info("goldberg init.rb
started") in the init file, but that didn't work.
However I might do something wrong in installation. I try to explain
how I installed Goldberg:
- with git (for Windows) I installed goldberg in my developers
environment according to the wiki at github
- when going to production I copied my MySQL development database with
backup and restore via sql. With phpadmin I can access my database on
production and with "ruby ./script/console" I can execute a find on my
database
- by means of git and Capistrano I deployed my source to the
production server. I used the following deploy.rb:
set :user, "uropn"
set :domain, "
uropn.railscluster.nl"
set :application, "uroPN"
set :deploy_via, :remote_cache
# set :copy_cache, "/temp/#{application}"
# set :copy_compression, :gzip
set :scm, 'git'
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`,
`perforce`, `subversion` or `none`
set :repository, "ssh://
ur...@ssh.railscluster.nl:2222/~/git/
uropn.git"
set :branch, "master"
set :scm_verbose, true
set :deploy_to, "/home/#{user}/web_root"
set :use_sudo, false
ssh_options[:port] = 2222
default_run_options[:pty] = true
server "
ssh.railscluster.nl", :app, :web, :db, :primary => true
namespace :deploy do
task :start, :roles => :app do
run "touch #{current_release}/tmp/restart.txt"
end
task :stop, :roles => :app do
# Do nothing.
end
task :restart, :roles => :app do
run "touch #{current_release}/tmp/restart.txt"
end
end
# end deply.rb
- Am I perhaps skipping some steps ? I hope you can tell.
Kind regards,
Koos