Tomasz Korzeniowski
2006-Jun-15 09:55 UTC
[Rails] Problem with deployment on TextDrive using shovel script
Hi, I try to deploy rails application to textdrive account. I use Geoffrey Grosenbach''s script http://nubyonrails.com/pages/shovel Unfortunatly I receive error message :-( Can you help me with this problem? I have no clue where exactly problem is :-( Please see log below ---- LOG ---- c:\Projekty\truck\trunk>rake --trace remote:exec ACTION=setup_lighty (in c:/Projekty/truck/trunk) ** Invoke remote:exec (first_time) ** Execute remote:exec loading configuration c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/ca pistrano/recipes/standard.rb loading configuration ./config/deploy.rb * executing task setup_lighty * executing task write_lighty_config_file * executing "if [ ! -d lighttpd/cache/compress ]; then mkdir -p lighttpd/cache /compress; fi" servers: ["codequest.com.pl"] Password: ################### [codequest.com.pl] executing command command finished * executing "if [ ! -d var/run ]; then mkdir -p var/run; fi" servers: ["codequest.com.pl"] [codequest.com.pl] executing command command finished * executing "if [ ! -d var/log ]; then mkdir var/log; fi" servers: ["codequest.com.pl"] [codequest.com.pl] executing command command finished * executing "if [ ! -d domains ]; then mkdir domains; fi" servers: ["codequest.com.pl"] [codequest.com.pl] executing command command finished servers: ["codequest.com.pl"] * uploading lighttpd/lighttpd.conf ** uploading data to codequest.com.pl:lighttpd/lighttpd.conf * done uploading data to codequest.com.pl:lighttpd/lighttpd.conf upload finished * executing task write_lighttpdctrl_script servers: ["codequest.com.pl"] * uploading lighttpd/lighttpdctrl ** uploading data to codequest.com.pl:lighttpd/lighttpdctrl * done uploading data to codequest.com.pl:lighttpd/lighttpdctrl upload finished * executing task setup * executing "mkdir -p -m 775 /home/korzonek/domains/truck/releases /home/korzo nek/domains/truck/shared/system &&\n mkdir -p -m 777 /home/korzonek/domains/t ruck/shared/log" servers: ["codequest.com.pl"] [codequest.com.pl] executing command command finished * executing task deploy ** transaction: start * executing task update_code * querying latest revision... c:/ruby/bin/rake: No such file or directory - svn log -q -rhead http://codequest .com.pl/svn/truck/trunk *** [update_code] transaction: rollback * [update_code] rolling back * executing "rm -rf /home/korzonek/domains/truck/releases/20060615095133" servers: ["codequest.com.pl"] [codequest.com.pl] executing command command finished rake aborted! private method `scan'' called for nil:NilClass c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/scm/subversion.rb :26:in `latest_revision'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/configuration.rb: 62:in `initialize'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/configuration.rb: 62:in `call'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/configuration.rb: 88:in `[]'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/configuration.rb: 237:in `method_missing'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/scm/subversion.rb :72:in `checkout'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard. rb:70:in `instance_eval'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard. rb:67:in `instance_eval'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:125:in ` instance_eval'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:125:in ` update_code'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:120:in ` update_code'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard. rb:141:in `instance_eval'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard. rb:140:in `transaction'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard. rb:140:in `instance_eval'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard. rb:139:in `instance_eval'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:125:in ` instance_eval'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:125:in ` deploy'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:120:in ` deploy'' ./config/deploy.rb:98:in `instance_eval'' ./config/deploy.rb:92:in `instance_eval'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:125:in ` instance_eval'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:125:in ` setup_lighty'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:120:in ` setup_lighty'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/cli.rb:246:in `se nd'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/cli.rb:246:in `ex ecute_recipes!'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/cli.rb:246:in `ea ch'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/cli.rb:246:in `ex ecute_recipes!'' c:/ruby/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/cli.rb:221:in `ex ecute!'' ./lib/tasks/capistrano.rake:15:in `cap'' ./lib/tasks/capistrano.rake:82 ./lib/tasks/capistrano.rake:74:in `call'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `synchronize'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 c:/ruby/bin/rake:18:in `load'' c:/ruby/bin/rake:18 c:\Projekty\truck\trunk> -- Posted via http://www.ruby-forum.com/.
Tomasz Korzeniowski
2006-Jun-15 15:02 UTC
[Rails] Re: Problem with deployment on TextDrive using shovel script
Tomasz Korzeniowski wrote: The solution is on this forum http://www.ruby-forum.com/topic/49117#12536 I should be more careful next time :-) -- Posted via http://www.ruby-forum.com/.