Note that there are some explanatory texts on larger screens.

plurals
  1. POcapistrano and git problem
    text
    copied!<p>Hello I get this error when I do cap deploy:cold. </p> <pre><code> * executing "cd /var/www/myapp.no/releases/20100905130830; rake RAILS_ENV= production db:migrate" servers: ["myapp.no"] [gcrdesign.no] executing command ** [out :: gcrdesign.no] (in /var/www/myapp.no/releases/20100905130830) command finished * executing `deploy:start' [DEPRECATED] `deploy:start` is going to be removed after 2.5.9 - see http://is.g d/2BPeA * executing "cd /var/www/myapp.no/current &amp;&amp; nohup script/spin" servers: ["gcrdesign.no"] [gcrdesign.no] executing command *** [err :: gcrdesign.no] nohup: cannot run command `script/spin': No such file or directory command finished failed: "sh -c 'cd /var/www/gcrdesign.no/current &amp;&amp; nohup script/spin'" on gcrd esign.no </code></pre> <p>I have another page on this server an when I go to the one I try to deploy it uses the other pages database. Really strange. They are the same cms application, but different sites. Does anybody know what I am doing wrong</p> <p>Here is my deploy.rb</p> <pre><code>set :application, "myapp.no" role :app, application role :web, application role :db, application, :primary =&gt; true set :user, "myname" set :use_sudo, false set :deploy_to, "/var/www/#{application}" set :deploy_via, :remote_cache set :scm, :git set :repository, "git://github.com/myname/myapp.git" set :branch, "master" namespace :deploy do desc "Symlink shared configs and folders on each release." task :symlink_shared do run "ln -nfs #{shared_path}/config/database.yml #{release_path}/config/database.yml" run "ln -nfs #{shared_path}/public/assets/pictures #{release_path}/public/assets/pictures" run "ln -nfs #{shared_path}/db/productin.sqlite3#{release_path}/db/productin.sqlite3" run "ln -nfs #{shared_path}/public/uploads/Image #{release_path}/public/uploads/Image" end desc "Restarting mod_rails with restart.txt" task :restart do run "touch #{current_path}/tmp/restart.txt" end end after 'deploy:update_code', 'deploy:symlink_shared' after "deploy", "deploy:cleanup" </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload