similar to: Capistrano + symlink to a shared images directory

Displaying 20 results from an estimated 5000 matches similar to: "Capistrano + symlink to a shared images directory"

2006 Mar 08
6
best practices for handling uploaded images and capistrano
Quick question: I am going to use the file_column plugin to manage uploading thumbnails. By default the images are stored in the public/ dir of the rails project. The problem I see is that when capistrano redeploys a new build and symlinks it in none of the images will be in the new public/ dir... Does anyone have a solution for this? Thanks, Zack -------------- next part -------------- An
2006 Apr 01
4
Saving images in shared directory w/ Capistrano/SVN?
Hi all, I''m using Capistrano and SVN to version control and deploy, but I''m not sure what to do about my images directory. I use file_column and RMagick to save images to the disk under a model called "Image", and they''re saved in public/image/... etc. Each time I deploy a new version, my image folder doesn''t exist anymore. I don''t want
2006 Apr 25
4
Symlinks in Capistrano?
I have a few projects with large directories (say, user-uploaded files) that make using Capistrano a bit awkward. However, I suspect that I may have reached the "write a custom task" level. (I suppose I''m just thinking out loud, here...) It seems as though I''d want this directories symlinked in /shared... Maybe there''s a way to extend the
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 May 19
6
Capistrano: update instead of checkout?
Hello, Just started to use Capistrano for deployment and everything works beautifully and as advertised. Thanks Jamis for this great piece of software. However, in my case, the deploy task takes quite some time since my SVN repository resides on a different continent than my app/db server and I''ve frozen all the rails code in the vendor dir and checked in. All in all my app sums up to
2006 Apr 10
5
I have a Capistrano 1.1 patch - where does it go?
I have a patch for Capistrano 1.1 - how do I submit it? Wes -- Posted via http://www.ruby-forum.com/.
2006 Mar 21
2
Capistrano: creating your own tasks
When I create a task within capistrano.rb I can call it using rake. When I create a task and put it in deploy.rb I can call it. Neither with or without the remote: namespace. Anyone have any insight into why it does not work? John Kopanas
2006 Mar 15
2
Capistrano/Switchtower screencast
Just a quickie, Hope I''m not going crazy here but I''m sure I''ve seen a screencast for capistrano recently... maybe posted on a blog somewhere. Can anyone remember where it is? Thanks -henry
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 Mar 20
2
Capistrano, ftp user and svn user are different
What do you do when the ftp login username is different then the svn username? Every time I try to deploy it gets stuck right here: [kopanas.com] executing command ** [out :: kopanas.com] Authentication realm: <http://kopanas.com:80> kopanas.com ** [out :: kopanas.com] Password for ''jkopanas'': ** [out :: kopanas.com] subversion is asking for a password ** [out ::
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 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 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 Jun 27
2
Capistrano Documentation
Can anyone tell me what was used to create the Capistrano documents by Jamis? http://manuals.rubyonrails.com/read/chapter/97
2006 May 26
4
Jamis, problem w/Capistrano
Jamis, I''ve spent hours trying to get Capistrano working, to no avail. I''m hosting over at www.railsplayground.com, and here''s their instructions I''ve been following: http://tinyurl.com/hyo93 I can''t get past step 7. When I execute "rake remote:setup", I get a rake aborted! message. When I do a "rake --tasks", I get only a
2006 Apr 25
2
Capistrano :db role
Hello, Can someone explain me why Capistrano deploys rails code to both :web and :db roles, not only to :app role, which is the only role that actually needs this code. In my setup I do not want to give any SSH access to :db servers other than server management, which is done outside Capistrano. So why Capistrano migrate task needs this access while it could to it from :app server, which
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 Mar 21
3
Switch...err Capistrano hangs
I''m having a little bit of difficulty deploying my app. I''ve run the setup and it works with Cap, but when I try to deploy it hangs at "querying latest revision". I can access my svn locally (I''m on a windows xp sp2 machine) using SubClipse plugin, but not through the command line though (yes, svn client is installed). I''m pretty sure that
2006 Apr 17
3
Slow-down with Capistrano?
This could be entirely my imagination, but it _feels_ like my apps are ever so slightly less responsive after deploying with Capistrano. Is that even possible? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060417/73f30cef/attachment.html
2006 Mar 20
4
Capistrano: cap show_tasks working but rake show_tasks not?
Does it make sense that if I type cap show_tasks it works but when I type rake show_tasks I get: rake aborted! Don''t know how to build task ''show_tasks'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1287:in `[]'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:300:in `[]''