|
Re: Basis Remote SysAdmin Tasks: msg#00093lang.ruby.capistrano.general
Perfect! Thanks, that was just what I needed. I tried the "simple example" but got this error when I tried it on my home network: C:\Documents and Settings\TB\testapp>cap search_libs You are running Ruby 1.8.6, which has a bug in its threading implementation. You are liable to encounter deadlocks running Capistrano, unless you install the fastthread library, which is available as a gem: gem install fastthread * executing `search_libs' * executing "ls -al" servers: ["192.168.0.10"] connection failed for: 192.168.0.10 (Errno::EBADF: Bad file descriptor - connect (2)) I understand the fastthread warning...I am not sure what the "Bad file descriptor - connect (2)" error is all about. Here is the search_libs file I made: task :search_libs, :hosts => "192.168.0.10" do run "ls -alxl /usr/lib | grep -i xml" end Thanks for any help you can send my way. On Nov 15, 10:04 am, Tobi Reif <tobiasr...-hcbruqqhhkZl57MIdRCFDg@xxxxxxxxxxxxxxxx> wrote: > On Thu 2007-11-15 TB wrote: > > > > > I have read the FAQ where Jamis Buck says you can perform non-rails > > tasks by simply using a "capfile." > > > If I just want to SSH into a box and perform an "ls -al," can you > > explain what I should put into that capfile? Are there other > > configuration files I need to edit? How do I invoke the process? > > Tryhttp://www.capify.org/getting-started/basics > > Tobi |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Basis Remote SysAdmin Tasks: 00093, Tobi Reif |
|---|---|
| Next by Date: | Re: Basis Remote SysAdmin Tasks: 00093, Jamis Buck |
| Previous by Thread: | Re: Basis Remote SysAdmin Tasksi: 00093, Tobi Reif |
| Next by Thread: | Re: Basis Remote SysAdmin Tasks: 00093, Jamis Buck |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |