Displaying 20 results from an estimated 5000 matches similar to: "Capistrano - SSH Port"
2006 Apr 08
6
Deploy with Capistrano Win32 -> Linux
Im trying to deploy with capistrano from win32 to Linux but no success.
I''ve been installed: cwRsync to ssh
I ran
rake remote:exec ACTION=setup --trace
and get:
Anyone knows how to get capistrano log ssh comunication?
Any idea?
Thanks
rake aborted!
End of file reached
c:/ruby/lib/ruby/gems/1.8/gems/net-ssh-1.0.8/lib/net/ssh/transport/version-negot
iator.rb:51:in `readline''
2006 May 17
1
capistrano and svn+ssh on non-standard port
Hi,
I have ssh configured with a non-standard port, and I use svn+ssh to
access to my repository. As the svn+ssh protocol doesn''t support the
colon convention to specify the port, I export the SVN_SSH variable in
.bashrc, like this...
SVN_SSH="ssh -p 2323"
Now I can do a checkout from the command like using something like
this...
svn checkout
2006 Mar 06
11
Capistrano setup fails
I can''t get past the setup step in Capistrano. I know the paths are
correct and I''m using zsh locally (bash on remote), so the shell
shouldn''t be a problem. It never asks for the SSH password, even. Any
help you could give would be greatly appreciated. Thanks.
Kenneth
--
=> the blog from beyond <=
=> www.eyeheartzombies.com <=
2011 Nov 09
4
Starting out with puppet and capistrano
Hey guys.
I am starting out with puppet and am in the process of writing a
bootstrap script for the clients and a capistrano recipe for the
server. I have the client bootstrap done which installs ruby, puppet,
sets a host name, and then points the client at the puppet server and
now I am in the process of setting up the puppet server.
My first attempt was to set up a git project for puppet, an
2006 Jul 26
0
capistrano CLI automation - using capistrano as a library
Hi all,
I''m trying to integrate Capistrano (thanks Jamis and DHH for such a lovely
piece of software) into an application I''m writing.
I can''t figure out, though, how to get output from capistrano when it''s used
through the CLI or configuration class, however. I see that it implements a
logger (Logger) and I see that starting on line 12 of the included
2006 Apr 10
6
"Pursuit of Happiness" ? Are you sure ?
I always kind of liked this title (the title of Davids super Rails
presentation), but then I saw this quote today:
"The pursuit of happiness is a most ridiculous phrase; if you pursue
happiness you''ll never find it." by C.P Snow
I''d have to agree with this quote. It''s the same as love... go looking for
it, and you''ll never find it.
Soooo... David,
2006 Jan 30
10
form_remote_tag and redirects
I would like to have a login box setup so that if incorrect info is
submitted, the box "shakes" via Effect.Shake.
If the correct information is submitted, I want to redirect to some other
page.
The only solution I''ve found is the following, which is pretty ugly, as it
displays the javascript I''m invoking on the page prior to the redirect.
Here is the code:
The Form
2006 Feb 01
6
Little Ferret Problem
I''ve implemented Ferret, using the instructions here:
http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails
I get no errors in the application at all... however, I always get 0
results.
I built an index off of some data, it exists in the index/ directory, the
form submits find... etc...
Just 0 results... all the time :)
I confirmed the data from my models is being put
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
2006 Jan 17
2
Switchtower & OpenSSL
I''ve been deploying local applications into production (both linux boxes)
with Switchtower, and I''ve had no problems, until now.
I just tried doing a "rake deploy", and I get this error:
============
[update_code] exception while rolling back: NameError, uninitialized
constant OSSL
rake aborted!
no such file to load -- openssl
============
Now, on both the production
2006 Feb 24
5
Sanity Check
Maaaaaaaaaaaaajor sanity check needed.
I wrote a simple little plugin, and it wouldn''t load. I put some comments
in it''s init.rb, and it didn''t even spit those out. So, I dug into the
initializer.rb (/vendor/rails/railties/lib/initializer.rb) to see wtf is
going on, and found the problem... but... can''t explain it. Here is the
code in question:
2006 Jan 14
14
Javascript/AJAX Debugging
Hello !
I''m trying to implement something similar to the "multiple updates" section
of the Web2.0 chapter of the Agile book.
I implemented my version, and nothing is happening. No javascript errors,
my logs look fine, page is rendered fine... just no Effect.Highlight. Here
is the code:
views/causes/cause_home/index.rhtml
===============
<%= form_remote_tag(:complete =>
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 Jan 27
17
Multiple Model Validation
Hey All !
I have a form which contains two models. I would like both models to be
validated, but have their validations aggregated on the page.
If I do:
<%= error_messages_for(:model1) %>
<%= error_messages_for(:model2) %>
It puts two big validation blocks on the page. I would like all the errors
from both models, but only in one validation box.
Is this possible ? All my attempts
2006 Mar 27
2
Capistrano deployment issues under Ubuntu Dapper
I''ve recently upgraded my box from Ubuntu Breezy to Dapper, and for
the life of me can''t figure out why I''m getting this exception thrown.
I''ve switched from Switchtower to Capistrano, and when I run rake
deploy I get this output:
** [update_code] exception while rolling back: NameError,
uninitialized constant Net::SSH::Transport::OSSL
2006 May 17
3
Capistrano: Skipping require of dynamic string
Hi all,
I am starting out to play with capistrano. I installed the capistrano
gem, and I got some messages. I am not sure if these are errors,
warnings or just status messages.I hope someone here can help me
understand these messages, so that I don''t suspect Capistrano
installation if I run into issues further down. :-)
binil$ gem install -r capistrano
Attempting remote installation
2006 May 31
8
New Rails site... RightCart.com
Hello Everyone !
Wanted to announce the launch of a new, 100%, Ruby/Rails based shopping
system.
http://www.rightcart.com (our blog: http://www.rightcartblog.com)
It''s basically a shopping widget that allows users to make purchases
directly through the widget.... no need to be redirected to a third party
shopping cart.
You can sell anything you want by upload the products onto the
2006 Feb 22
15
Fixtures and Relationships
In my daily development, I migrate back and forth between versions, and
often do: rake load_fixtures...
... in order to populate my development database with fun data.
Now, with any HABTM relationship, there are failures, as there is no way to
say "which" fixtures to load first.
Within an actual functional or unit test case, you could simply load them in
the proper order, but
2006 Mar 23
4
RJS and Form Validation (Best Practice)
Hello All !
I''ve been using RJS extensively, but haven''t done any form validation with
it until now.
Should I be manually passing the RJS template some models error messages
from the controller.... or
... should I be using error_messages_for in order to do the display ?
I''ve implemented the first approach, but it seems like quite a hack.
Any insight would be greatly
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,