Displaying 4 results from an estimated 4 matches for "try_sudo".
Did you mean:
try_do
2013 Nov 29
4
Capistarno deploy each time ckeditor assets removed.
...;<-EOD
> Creates the upload folders unless they exist
> and sets the proper upload permissions.
> EOD
> task :setup, :except => { :no_release => true } do
> dirs = uploads_dirs.map { |d| File.join(shared_path, d) }
> run "#{try_sudo} mkdir -p #{dirs.join('' '')} && #{try_sudo} chmod
> g+w #{dirs.join('' '')}"
> end
>
> desc <<-EOD
> [internal] Creates the symlink to uploads shared folder
> for the most recently deployed versi...
2013 Mar 03
1
Deploy with Capistrano. Bundle install freezes indefinetly.
...run "cd #{release_path}; RAILS_ENV=production rake assets:precompile"
end
# If you are using Passenger mod_rails uncomment this:
namespace :deploy do
task :start do ; end
task :stop do ; end
task :restart, :roles => :app, :except => { :no_release => true } do
run "#{try_sudo} touch #{File.join(current_path,''tmp'',''restart.txt'')}"
end
end
Then, after cap deploy:setup and cap deploy:cold, Capistrano makes "bundle
install" and this command never ends!
My server is a fresh Ubuntu 12.10, ruby 1.9.3-p362, rails 3.1.11 and...
2010 Sep 09
4
Capistrano Deploy with SVN over SSH - Network connection closed unexpectedly
...this:
# if you''re still using the script/reapear helper you will need
# these http://github.com/rails/irs_process_scripts
namespace :deploy do
task :start do ; end
task :stop do ; end
task :restart, :roles => :app, :except => { :no_release => true } do
run "#{try_sudo} touch #{File.join(current_path,''tmp'',''restart.txt'')}"
end
end
So far i used my local repository and depoyed the application via a copy and not with a checkout from the repository.
Maybe someone had the same problems and could help my with some hints...
2013 Mar 14
1
Ubuntu 12.10 Nginx Rails 3.2.13. Deploy in sub URI. Nothing happens!
...run "cd #{release_path}; RAILS_ENV=production rake assets:precompile"
end
# If you are using Passenger mod_rails uncomment this:
namespace :deploy do
task :start do ; end
task :stop do ; end
task :restart, :roles => :app, :except => { :no_release => true } do
run "#{try_sudo} touch #{File.join(current_path,''tmp'',''restart.txt'')}"
end
end
Curiously /opt/nginx/logs/error.log doesn''t report anything.
I am fighting with this problem during many days without any solution. I''m
very tired and under hard pressure fr...