search for: remote_exec

Displaying 19 results from an estimated 19 matches for "remote_exec".

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 remote_exec ACTION=random_text" it does exactly the same so I''m thinking the issue is with rem...
2006 Mar 16
1
Problem with Rake ''remote_exec'' for Capistrano/Switchtower
Hi I''m trying to deploy an app from WinXP to a Linux host(Site5), and wondering if anyone knows the answer to this? I''ve got SwitchTower/Capistrano installed - seems to be fine. But when I try to "rake remote_exec ''remote_exec''" rake dies on me with a "Don''t know how to build task ''remote_exec''" message The trace I get is: /path/to/rake-0.7.0/lib/rake.rb:1287: in ''[]'' ...rake.rb:300: in ''[]'' ..:1719: in run/ea...
2006 Feb 23
2
SwitchTower remote_exec migrate
Hello I''m doing rake remote_exec ACTION=migrate and I get an output with servers []: loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/recipes/standard.rb loading configuration ./config/deploy.rb executing task migrate executing "cd /var/www/catalyst/current && rake RAILS_ENV=p...
2006 Feb 19
10
Switchtower - unitialized constant
Just loaded up Switchtower 1.0 today, via gems. I''m on OS X (10.4.5), with ruby and friends installed via darwinports in opt/local. After installing ST, I switchtowerized my app, set up the deploy recipe, then ran: rake remote_exec ACTION=setup When I do, i get this error: rake aborted! uninitialized constant SwitchTower Obviously, this happens with any of the tasks in ST (like show_deploy_tasks). Anyone ran into this before? -- Posted via http://www.ruby-forum.com/.
2005 Dec 27
2
Praise Switchtower (plus a quick question)
Switchtower is really cool once you get it going. Quick question, I do a: % rake deploy % rake remote_exec ACTION=symlink_pictures ...but what''s the easiest way to combine the two in a single command? Thanks CM -- Posted via http://www.ruby-forum.com/.
2006 Feb 22
3
is there really a restart task in switchtower? How do you invoke it?
I just created a new rails project "test". I then did "switchtower --apply-to ~/user/test test" I then moved into test and tried "rake restart" and got: kfelkins@lurch:~/user/test$ rake restart (in /home/kfelkins/user/test) rake aborted! Don''t know how to build task ''restart'' I see restart in deploy. Can restart be invoked from the
2005 Dec 22
4
Switchtower problem - `sysread'': bignum too big to convert into `long'' (RangeError)
I''m trying to set up switchtower, following the info in the Manual, but am getting this error when I run "rake remote_exec ACTION=setup": servers: ["cantona.dnswatchdog.com"] /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:203:in `sysread'': bignum too big to convert into `long'' (RangeError) from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/...
2006 Feb 07
6
Switchtower not working due to openssl not found
I''m struggling to get switchtower working, and from other posts about it I know it has something to do with ruby binding to open ssl. I''m just not sure what I should recompile/reinstall to get things to work. running: "rake remote_exec ACTION=setup" gives me ---> ...executing "mkdir -p -m 775 /usr/apps/hello-rails/releases /usr/apps/hello-rails/shared/system &&\n mkdir -p -m 777 /usr/apps/hello-rails/shared/log" servers: ["www.robsanheim.com"] rake aborted! no such file to load -- openssl &...
2006 Jan 27
6
Switchtower deploy error
I''m trying to deploy a rails app with no success. I can execute: ''rake remote_exec ACTION=setup'' but when I try to execute : ''rake deploy'' I got this error: loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0 /lib/switchtower/recipes/standard.rb loading configuration ./config/deploy.rb executing task deploy transaction: start execu...
2006 Jan 04
2
SwitchTower deployment
I''ve been trying to configure SwitchTower to perform deployment of my app to a Dreamhost server. I can run rake remote_exec ACTION=setup just fine but rake deploy keeps giving me errors when its checking out the latest revision from the Subversion repository on the same Dreamhost server. It displays errors like this: loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.1 chtower/recipes/standard.rb loadi...
2006 Feb 01
2
Trouble with migrate over Switchtower
...sue > trying to run migrations over Switchtower. > So I?ll prepare a migration and commit it to the repository. I?ll then do a > deploy to get the latest version up on the production server. Next, I?ll run > the following to tell the production server to run a migration: > rake remote_exec ACTION=migrate > It won''t work though, in the errors I get: > bash: line 1: rake: command not found. > I have no idea why this can?t find the rake command. If I ssh into the > production machine and manually run that command: > cd /webserver/cbwebsite/current &am...
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. Here is my error C:\radrails\workspace\example\lib\tasks>rake remote_exec ACTION=setup_lighty (in C:/radrails/workspace/example) loading configuration c:/ruby/lib/ruby/gems/1.8/gem...
2006 Jan 03
7
switchtower, windows and dispatch.fcgi
I just setup switchtower and I am very happy with it. Just one thing is giving me some headache: My development machine is windows and my deployment host is Unix. Each time I deploy I need to make dispatch.fcgi executable. I wrote my own task for that. But does there exist any smarter way to get this automated ? I think Subversion offers some possiblity to declare a file as executable, but no idea
2006 Feb 11
1
Switchtower deploy fails though setup works
...ke-0.7.0/lib/rake.rb:1719:in `run '' c:/Program Files/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run '' c:/Program Files/Ruby/lib/ruby/gems/1.8/gems/rake-0.7.0/bin/rake:7 c:/Program Files/Ruby/bin/rake.bat:25 C:\Dan\dev\radrails\flydash> By contrast, "rake remote_exec ACTION=setup" works perfectly and after prompting for the password, successfully creates the directories on the server. Why is SwitchTower looking for rake.bat? What do I have misconfigured? Thanks in advance for your help.
2010 Apr 10
0
[LLVMdev] darwin dragon-egg build issues
Hi Jack, > Is anyone building dragon-egg on darwin? Anton built it once. There were some problems with dynamic libraries: gcc's plugin support requires the use of dynamic libraries, and the configure logic it uses thinks that darwin does not support dynamic libraries! So it is possible that plugin support was automatically disabled because of this. Try configuring with
2010 Apr 11
7
[LLVMdev] darwin dragon-egg build issues
...ncludes $extra_flags -DIN_GCC -fPIC -shared" + if { [ istarget *-*-darwin* ] } { + set optstr [concat $optstr "-undefined dynamic_lookup"] + } + # Temporarily switch to the environment for the plugin compiler. restore_ld_library_path_env_vars set status [remote_exec build "$PLUGINCC $PLUGINCFLAGS $plugin_src $optstr -o $plugin_lib"] I am working towards building current dragon-egg svn against this installation of FSF gcc 4.5.0. Currently FSF gcc 4.5.0 neglects to install gcc/config/darwin-sections.def into lib/gcc/x86_64-apple-darwin10.3.0/4.5.0/plu...
2006 Mar 06
46
Capistrano 1.1
Capistrano is a utility for executing tasks in parallel across multiple remote hosts. It was formerly known as SwitchTower. Installation: gem install capistrano Manual: http://manuals.rubyonrails.org/read/book/17 Version 1.1 introduces a few changes: * Renamed! Due to the trademark infringement debacle of last week, we had to change the name. Moving forward it will be known as
2010 Apr 11
0
[LLVMdev] darwin dragon-egg build issues
On 04/10/2010 08:01 PM, Jack Howarth wrote: > > bash-3.2$ GCC=/sw/bin/gcc-4 CC=gcc-4 CXX=g++-4 CFLAGS=-I/sw/include CXXFLAGS=-I/sw/include LLVM_CONFIG=/sw/lib/llvm/bin/llvm-config make > g++-4 -c -I/sw/lib/llvm/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -MD -MP -DIN_GCC -DREVISION=\"100954M\"
2010 Apr 10
3
[LLVMdev] darwin dragon-egg build issues
Is anyone building dragon-egg on darwin? I am trying to build against the fink gcc45 package that I have prepared for darwin and a updated fink llvm 2.7 package that is built as... ../llvm-2.7/configure --prefix=/sw --prefix=/sw/lib/llvm --mandir=/sw/share/man --infodir=/sw/share/info --with-gmp=/sw --with-libiconv-prefix=/usr --with-system-zlib --with-as=/Developer/usr/bin/as