Displaying 20 results from an estimated 1000 matches similar to: "Problem with deployment on TextDrive using shovel script"
2006 Jan 25
0
Shovel Switchtower deployment
Hello,
Iam trying to use Shovel deployment as explained here
http://nubyonrails.com/pages/shovel. Iam currently using windows as my
development environment and *nix to deploy the application. I have changed
all the dispatch.* files to be executable. but when I run
rake remote_exec ACTION=setup_lighty
it asks for my password and installs lighttpd and other stuff, but
fails on task update_code.
2006 Jul 25
2
Shovel/TextDrive error: missing SSHAgent.socket
Hi there
When running the initial ''rake remote:exec ACTION=setup_lighty''
command I get this error:
''No such file or directory - /tmp/501/nl.uu.phil.SSHAgent.socket''
Any clues would be appreciated.
Richard Sandilands
2006 Mar 30
4
Capistrano Shovel onto Textdrive SVN error
I''m using the Shovel recipe to deploy my lovely app to text drive.
everyhting seems to be ok apart from the deploy action which fails
saying that there is "No such file or directory" I''ve included the full
error listing below.
The SVN definately exists because we''re using for development.
Does any one have any ideas what might be going wrong?
Thanks
Tom
2006 May 24
0
capistrano on windows
I''m trying to deploy my app to the production server (on dreamhost) from a
windows box. however, all I get is "rake aborted" without any further error
messages. I have no idea where to even start debgging this. I''ve checked and
re-checked the details in deploy.rb but otherwise I''m stumped. any ideas
anyone?
thanks
al
output from command line:
2005 Dec 16
6
rake remote_exec on Windows
I am using the shovel deploy.rb from http://nubyonrails.com/pages/shovel
I have SwitchTower-ized my app, copied the shovel deploy.rb file and put
my settings in it.
But when I run "rake remote_exec ACTION=setup_lighty" from the local app
root it has no effect. It should prompt for a password for at least
throw an error? I just get returned to the DOS prompt.
If I do "rake
2007 Jun 06
0
Capistrano: Port in SVN
. . .
* executing "sudo chmod -R g+w /usr/local/svn/project_name"
servers: ["project_name.com"]
[project_name.com] executing command
command finished
* executing task svn_import
Adding branches and tags
ssh: connect to host project_name.com port 22: Connection refused
svn: Connection closed unexpectedly
Importing application.
ssh: connect to host
2006 May 26
3
capistrano on windows (again)
Hi all
I didn''t get a response to my first post so I thought I''d try again. is
anyone successfully using capistrano to deploy their app from a windows box?
I''m trying to deploy a test app to my dreamhost account but all i get is
"rake aborted!" with no further information. Can someone please confirm if
capistrano even works under windows?
many thanks
al
2006 Jan 26
0
Switchtower deploy failing...
Hi,
I am trying to deploy my app using switchtower on a linux machine
from
a windows box and running into the following issue:
> rake deploy
Any ideas ??
Many thanks...
/usr/lib/ruby/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/configuration.rb:197:in
`method_missing'': undefined method `local''
for #<SwitchTower::Configuration:0x102b58c8> (NoMethodError)
2006 Mar 22
1
Capistrano - run command
Man, I can''t wait to get my hands on the capistrano book when it
comes out :-).
I have the following task in capistrano.rake (any task in deploy.rb
just does not want to be called)
=========
desc "Restarts the lighttpd server"
task :restart_server do
run "/users/home/jkopanas/bin/lighttpdctrl restart"
end
=========
When I run rake restart_server I get the
2007 Jan 12
1
capistrano setup bails with RegexpErr on show_tasks
I am new to RoR, but I have had RoR running with Capistrano on a
different box. However I''m installing a fresh copy now and am finding
constant regex errors from the standard.rb file while attempting to
"show_tasks". As this is a new installation, everything is up-to-date.
Here''s the environment:
FreeBSD 6.2-RC2
ruby 1.8.5
gem 0.9.0
rake 0.7.1
net-ssh 1.0.10, 1.0.9
2006 Mar 07
5
Capistrano: command never finishes?
Hi,
I have created a small :restart task to overwrite the default one:
task :restart, :roles => :app do
sudo "/etc/init.d/lighttpd stop"
sudo "/etc/init.d/lighttpd start"
end
This works fine and lighty does restart, but the last command never
finishes, so I never return to the prompt. Here''s my output:
cap restart
loading configuration
2009 Jan 01
1
wineg++ and conio.h problem
Here is a sample code:
Code:
#include <iostream>
#include <cstdlib>
#include <wine/msvcrt/conio.h>
int main()
{
std::cout << "Press something...\n";
getch();
return EXIT_SUCCESS;
}
and here is the compile log: (two things are translated from polish so may differ a bit but meaning is the same)
Code:
szczerb at nomad ~/projekty/wine/temp $ make
wineg++ -c
2018 Jul 24
0
Force set group id on samba domain member
On Tue, 24 Jul 2018 14:38:31 +0200
Michal via samba <samba at lists.samba.org> wrote:
> Samba DM config below.
> Directories with setgid:
>
> $ll /home4/group
> total 32
> drwxrws--- 7 NIS\nisadmin NIS\audio 4096 Jul 24 14:14 audio
> drwxrwx--- 2 NIS\nisadmin NIS\dok-sprava 4096 Jul 21 09:23 dok-sprava
> drwxrwx--- 2 NIS\nisadmin NIS\poj 4096 Jul 23
2018 Jul 24
0
Force set group id on samba domain member
Am Dienstag, 24. Juli 2018, 14:38:31 CEST schrieb Michal via samba:
> Samba DM config below.
> Directories with setgid:
>
> $ll /home4/group
> total 32
> drwxrws--- 7 NIS\nisadmin NIS\audio 4096 Jul 24 14:14 audio
> drwxrwx--- 2 NIS\nisadmin NIS\dok-sprava 4096 Jul 21 09:23 dok-sprava
> drwxrwx--- 2 NIS\nisadmin NIS\poj 4096 Jul 23 08:38 poj
> drwxrwx---
2006 Jun 28
2
[PATCH] Bug fixes and additions to scoped_access
I found that scoped_access does not re-evaluate the filters on every
run. If you are filtering access based on parameters, this can be bad.
The scope is set on the first request and then further requests use the
last generated scoping.
The initial part of ScopedAccess::Filter#before looks like this:
@scoping = controller.instance_eval(@scoping.to_s) if
@scoping.is_a?(Symbol)
This makes
2006 Apr 18
3
Capistrano and Certificates
All,
I''m setting up a deployment script with Capistrano at the moment, and
am running into some trouble when it attempts to pull the code down
from the SVN server when I run the deploy task.
The SVN server runs over https, and the problem seems to be when I get
asked whether I want to accept or reject the certificate. I hit ''p'' to
accept the certificate permanently,
2006 Jun 26
1
ActiveRecord, instance_eval, and PStore
I''m trying to add some per-object behaviors to objects descended from
ActiveRecord, by using after_initialize() and instance_eval(), like this:
def after_initialize
self.instance_eval(File.read(''customers/default.rb''))
end
(Ultimately the file path will be dynamic, this is just proof of concept.)
default.rb just contains a few method definitions like this one:
def
2018 Jul 24
5
Force set group id on samba domain member
Samba DM config below.
Directories with setgid:
$ll /home4/group
total 32
drwxrws--- 7 NIS\nisadmin NIS\audio 4096 Jul 24 14:14 audio
drwxrwx--- 2 NIS\nisadmin NIS\dok-sprava 4096 Jul 21 09:23 dok-sprava
drwxrwx--- 2 NIS\nisadmin NIS\poj 4096 Jul 23 08:38 poj
drwxrwx--- 2 NIS\nisadmin NIS\projekty 4096 Jul 23 09:14 projekty
When user creates file/dir directly on linux, the
2007 Jul 29
3
capistrano problems
I installed capistrano and have tried several things. Can''t seem to get
it working.
This is what i am getting.
C:\ruby\radrails\modernfossil>cap deploy
* executing `deploy''
* executing `deploy:update''
** transaction: start
* executing `deploy:update_code''
svn: Can''t create tunnel: The system cannot find the file specified.
***
2006 Feb 10
1
instance_eval and Proc objects
Hi All,
Got a bit of a Ruby question for you.
If I have a function that makes a proc object like this:
def select(selector, &proc)
el = Element.new
el.instance_eval proc
end
select("#thing") do
hide
end
Wat I want to do is evaluate the Proc in the context of el but this
doesn''t work because instance_eval accepts a string or a block and not
a Proc object. I sense